]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ALSA: Avoid endless sleep after disconnect
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Nov 2012 11:39:56 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:18:51 +0000 (13:18 -0800)
commit4a9f39ed6496dd4483ae5010e0848d45a89fd278
tree282167328c6f09349357d16edbbd6828da6bd323
parentf3ae49909bdf42b42f6ca619ff910366536e0f84
ALSA: Avoid endless sleep after disconnect

commit 0914f7961babbf28aaa2f19b453951fb4841c03f upstream.

When disconnect callback is called, each component should wake up
sleepers and check card->shutdown flag for avoiding the endless sleep
blocking the proper resource release.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/control.c
sound/core/hwdep.c
sound/core/oss/pcm_oss.c
sound/core/pcm.c
sound/core/pcm_native.c
sound/core/rawmidi.c