ALSA: hda - Add pseudo device-locking for clear/reconfig
authorTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2009 15:57:04 +0000 (16:57 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Feb 2009 15:57:04 +0000 (16:57 +0100)
commita65d629ceb4cff5e7d5edadfd6bf1f64c370a517
treeafe9fc6ca83c7e2261ec3032eca34739376514cf
parent209b14033652f0509912da97fb4a5c8001e64ec0
ALSA: hda - Add pseudo device-locking for clear/reconfig

Added the pseudo device-locking using card->shutdown flag to avoid
the crash via clear/reconfig during operations.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_codec.c
sound/pci/hda/hda_hwdep.c
sound/pci/hda/hda_local.h