summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_generic.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-12-19 15:16:44 +0100
committerTakashi Iwai <tiwai@suse.de>2013-01-12 08:31:01 +0100
commit5d550e15be0a960c7ff5dbcf12b5a454e70403b6 (patch)
treef9b70b25a2588cf6b2d908a1d1f57cf056f14ea8 /sound/pci/hda/hda_generic.h
parent36502d020030665bcfc558767cbb0ddf87b9892f (diff)
downloadlwn-5d550e15be0a960c7ff5dbcf12b5a454e70403b6.tar.gz
lwn-5d550e15be0a960c7ff5dbcf12b5a454e70403b6.zip
ALSA: hda - Export standard jack event handlers for generic parser
These handlers are supposed to be called externally from the codec drivers once when they need to handle own jack events. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_generic.h')
-rw-r--r--sound/pci/hda/hda_generic.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h
index 1a3b4042c5ba..417ab65a323e 100644
--- a/sound/pci/hda/hda_generic.h
+++ b/sound/pci/hda/hda_generic.h
@@ -199,4 +199,13 @@ int snd_hda_gen_parse_auto_config(struct hda_codec *codec,
int snd_hda_gen_build_controls(struct hda_codec *codec);
int snd_hda_gen_build_pcms(struct hda_codec *codec);
+/* standard jack event callbacks */
+void snd_hda_gen_hp_automute(struct hda_codec *codec,
+ struct hda_jack_tbl *jack);
+void snd_hda_gen_line_automute(struct hda_codec *codec,
+ struct hda_jack_tbl *jack);
+void snd_hda_gen_mic_autoswitch(struct hda_codec *codec,
+ struct hda_jack_tbl *jack);
+void snd_hda_gen_update_outputs(struct hda_codec *codec);
+
#endif /* __SOUND_HDA_GENERIC_H */