ALSA: hda - Add capture_switch_hook to generic parser

Add a hook for the capture mixer switch.  This will be used by IDT
codecs for controlling the mic-mute LED.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Esse commit está contido em:
Takashi Iwai
2013-01-14 12:13:06 +01:00
commit ae177c3fd0
2 arquivos alterados com 18 adições e 1 exclusões

Ver arquivo

@@ -227,6 +227,9 @@ struct hda_gen_spec {
struct hda_jack_tbl *tbl);
void (*mic_autoswitch_hook)(struct hda_codec *codec,
struct hda_jack_tbl *tbl);
/* capture switch hook (for mic-mute LED) */
void (*capture_switch_hook)(struct hda_codec *codec, bool enable);
};
int snd_hda_gen_spec_init(struct hda_gen_spec *spec);