[ALSA] Fix possible deadlocks in sequencer at removal of ports
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Feb 2007 13:07:08 +0000 (14:07 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:03:58 +0000 (09:03 +0100)
commit6116ea0741abf8f1ef9d93642d985f91c58ff6bf
treef65c9a099a0448a776bb5daa91af590cf3b06008
parent2594d960793f13582c0730a99c5396cded7cf9d9
[ALSA] Fix possible deadlocks in sequencer at removal of ports

Fix possible rwsem deadlocks in sequencer code at removal of
sequencer ports.  The list_lock of port group can be double
locked.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/core/seq/seq_ports.c