Commit eeacb545 authored by Sergey Ulanov's avatar Sergey Ulanov Committed by Jaroslav Kysela

[ALSA] Jack Sense support for AD1980 and AD1888

AC97 Codec
Attached patch adds 'Jack Sense' controls for AD1980 and AD1888 chips.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 7b566054
...@@ -1528,6 +1528,9 @@ static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = { ...@@ -1528,6 +1528,9 @@ static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = {
}, },
AC97_SURROUND_JACK_MODE_CTL, AC97_SURROUND_JACK_MODE_CTL,
AC97_CHANNEL_MODE_CTL, AC97_CHANNEL_MODE_CTL,
AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 10, 1, 0),
AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0),
}; };
static int patch_ad1888_specific(ac97_t *ac97) static int patch_ad1888_specific(ac97_t *ac97)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment