summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-11-10 16:02:29 +0100
committerTakashi Iwai <tiwai@suse.de>2009-11-10 16:02:29 +0100
commitfb8d1a344dbe963f16249d07eee8415e93f9f3c2 (patch)
tree710c945e207bbb3aa2998a4ce861dd302cb7d080 /sound/pci/hda/patch_sigmatel.c
parent167eae5a17b3cd44a324dbb972c338e489413f54 (diff)
downloadlinux-fb8d1a344dbe963f16249d07eee8415e93f9f3c2.tar.gz
linux-fb8d1a344dbe963f16249d07eee8415e93f9f3c2.tar.bz2
linux-fb8d1a344dbe963f16249d07eee8415e93f9f3c2.zip
ALSA: hda - Add reboot notifier to each codec
Add reboot notifier to each codec so that it can do some workarounds needed for reboot. So far, patch_sigmatel.c calls its shutup routine for avoiding noises at reboot on some HP machines. References: Novell bnc#544779 http://bugzilla.novell.com/show_bug.cgi?id=544779 Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 3087705a8e51..9c33700b21a8 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -4831,6 +4831,7 @@ static struct hda_codec_ops stac92xx_patch_ops = {
.suspend = stac92xx_suspend,
.resume = stac92xx_resume,
#endif
+ .reboot_notify = stac92xx_shutup,
};
static int patch_stac9200(struct hda_codec *codec)