diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-12-19 14:16:44 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-12 07:31:01 (GMT) |
commit | 5d550e15be0a960c7ff5dbcf12b5a454e70403b6 (patch) | |
tree | f9b70b25a2588cf6b2d908a1d1f57cf056f14ea8 /sound/pci/hda/hda_generic.h | |
parent | 36502d020030665bcfc558767cbb0ddf87b9892f (diff) | |
download | linux-fsl-qoriq-5d550e15be0a960c7ff5dbcf12b5a454e70403b6.tar.xz |
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.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_generic.h b/sound/pci/hda/hda_generic.h index 1a3b404..417ab65 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 */ |