From: Takashi Iwai Date: Tue, 21 Oct 2014 13:32:13 +0000 (+0200) Subject: ALSA: pcm: Fix false lockdep warnings X-Git-Tag: fixes-against-v3.18-rc2~11^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dde1c652d7b1e69a3f1959697f039ad6dfaeb5dd;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed