aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/ac97
diff options
context:
space:
mode:
authorSergey Ulanov <Sergey.Ulanov@asplinux.ru>2005-07-27 11:28:58 -0400
committerJaroslav Kysela <perex@suse.cz>2005-07-28 06:27:05 -0400
commiteeacb5457cf5f0802fb29f385befa0b1d166cadb (patch)
treea6338a342bb55e77feb348f57a1bf0182cb31ba1 /sound/pci/ac97
parent7b566054b33474cdd674289a8c7dd282c02e536e (diff)
[ALSA] Jack Sense support for AD1980 and AD1888
AC97 Codec Attached patch adds 'Jack Sense' controls for AD1980 and AD1888 chips. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ac97')
-rw-r--r--sound/pci/ac97/ac97_patch.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c
index a15eb8522b7c..66edc857d3e6 100644
--- a/sound/pci/ac97/ac97_patch.c
+++ b/sound/pci/ac97/ac97_patch.c
@@ -1528,6 +1528,9 @@ static const snd_kcontrol_new_t snd_ac97_ad1888_controls[] = {
1528 }, 1528 },
1529 AC97_SURROUND_JACK_MODE_CTL, 1529 AC97_SURROUND_JACK_MODE_CTL,
1530 AC97_CHANNEL_MODE_CTL, 1530 AC97_CHANNEL_MODE_CTL,
1531
1532 AC97_SINGLE("Headphone Jack Sense", AC97_AD_JACK_SPDIF, 10, 1, 0),
1533 AC97_SINGLE("Line Jack Sense", AC97_AD_JACK_SPDIF, 12, 1, 0),
1531}; 1534};
1532 1535
1533static int patch_ad1888_specific(ac97_t *ac97) 1536static int patch_ad1888_specific(ac97_t *ac97)