ALSA: aloop - Fix possible IRQ lock inversion
authorTakashi Iwai <tiwai@suse.de>
Fri, 18 Mar 2011 06:31:53 +0000 (07:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 18 Mar 2011 06:31:53 +0000 (07:31 +0100)
commit98d21df431ad55281e1abf780f8d51e3391900b2
tree19d365c9407ce581098596ec913a9cdb9ff7dd8a
parent5b7c757d1a8878d49f46c826d6081816935664aa
ALSA: aloop - Fix possible IRQ lock inversion

loopback_pos_update() can be called in the timer callback, thus the lock
held should be irq-safe.  Otherwise you'll get AB/BA deadlock together
with substream->self_group.lock.

Reported-and-tested-by: Knut Petersen <Knut_Petersen@t-online.de>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/aloop.c