aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_codec.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2009-11-10 10:02:29 -0500
committerTakashi Iwai <tiwai@suse.de>2009-11-10 10:02:29 -0500
commitfb8d1a344dbe963f16249d07eee8415e93f9f3c2 (patch)
tree710c945e207bbb3aa2998a4ce861dd302cb7d080 /sound/pci/hda/hda_codec.h
parent167eae5a17b3cd44a324dbb972c338e489413f54 (diff)
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/hda_codec.h')
-rw-r--r--sound/pci/hda/hda_codec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h
index 99552fb5f756..624060837653 100644
--- a/sound/pci/hda/hda_codec.h
+++ b/sound/pci/hda/hda_codec.h
@@ -674,6 +674,7 @@ struct hda_codec_ops {
674#ifdef CONFIG_SND_HDA_POWER_SAVE 674#ifdef CONFIG_SND_HDA_POWER_SAVE
675 int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid); 675 int (*check_power_status)(struct hda_codec *codec, hda_nid_t nid);
676#endif 676#endif
677 void (*reboot_notify)(struct hda_codec *codec);
677}; 678};
678 679
679/* record for amp information cache */ 680/* record for amp information cache */
@@ -910,6 +911,7 @@ int snd_hda_is_supported_format(struct hda_codec *codec, hda_nid_t nid,
910 * Misc 911 * Misc
911 */ 912 */
912void snd_hda_get_codec_name(struct hda_codec *codec, char *name, int namelen); 913void snd_hda_get_codec_name(struct hda_codec *codec, char *name, int namelen);
914void snd_hda_bus_reboot_notify(struct hda_bus *bus);
913 915
914/* 916/*
915 * power management 917 * power management