diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-21 15:32:13 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-21 18:17:02 +0200 |
commit | dde1c652d7b1e69a3f1959697f039ad6dfaeb5dd (patch) | |
tree | bf0d5cd0cdc609592862947b2872f4114bf669d5 /crypto/rmd128.c | |
parent | b1974f965a506c131b60cd3e483340884e831920 (diff) | |
download | linux-dde1c652d7b1e69a3f1959697f039ad6dfaeb5dd.tar.bz2 |
ALSA: pcm: Fix false lockdep warnings
As PCM core handles the multiple linked streams in parallel, lockdep
gets confused (partly because of weak annotations) and spews the
false-positive warnings. This hasn't been a problem for long time but
the latest PCM lock path update seems to have woken up a sleeping
dog.
Here is an attempt to paper over this issue: pass the lock subclass
just calculated from the depth in snd_pcm_action_group(). Also, a
(possibly) wrong lock subclass set in snd_pcm_action_lock_mutex() is
dropped, too.
Reported-and-tested-by: Arthur Marsh <arthur.marsh@internode.on.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'crypto/rmd128.c')
0 files changed, 0 insertions, 0 deletions