summaryrefslogtreecommitdiffstats
path: root/sound/i2c
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2011-05-11 11:07:09 +0200
committerTakashi Iwai <tiwai@suse.de>2011-05-11 14:53:09 +0200
commitf3f7c1837f6bcae3601fc535b339426868bf1549 (patch)
tree1baa013c8219969e65ee22d42ed4bb2293763195 /sound/i2c
parent3cabffd72c303c3b5bbbbe88c95b49043898d1f3 (diff)
downloadlinux-f3f7c1837f6bcae3601fc535b339426868bf1549.tar.gz
linux-f3f7c1837f6bcae3601fc535b339426868bf1549.tar.bz2
linux-f3f7c1837f6bcae3601fc535b339426868bf1549.zip
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 <clemens@ladisch.de> Reported-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/i2c')
0 files changed, 0 insertions, 0 deletions