From: Clemens Ladisch Date: Wed, 11 May 2011 09:07:09 +0000 (+0200) Subject: ALSA: isight: fix locking X-Git-Tag: v3.0-rc1~347^2~2^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3f7c1837f6bcae3601fc535b339426868bf1549;p=pandora-kernel.git ALSA: isight: fix locking Lockdep complains about conflicts between isight->mutex, ALSA's register_mutex, mm->mmap_sem, and pcm->open_mutex. This can be fixed by moving the calls to isight_pcm_abort(), snd_card_disconnect(), and fw_iso_resources_update() out of isight->mutex. These functions are designed to be called asynchronously; the mutex needs to protect only the device streaming state modified by isight_start/stop_streaming(). Signed-off-by: Clemens Ladisch Reported-by: Stefan Richter Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed