From 6482d8ad7b29d2434d49ec049928924609ee7540 Mon Sep 17 00:00:00 2001 From: Jaya Kumar Date: Fri, 23 Jun 2006 15:18:41 +0200 Subject: [PATCH] --- yaml --- r: 31204 b: refs/heads/master c: 02856b5684677b74095069c3be4774c2992e4fdc h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/sound/ac97_codec.h | 1 + trunk/sound/pci/ac97/ac97_patch.c | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 53aa6f125620..b9055d05755f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 02ada9c112eb00ecb9d2c04b6132f48ade534dbf +refs/heads/master: 02856b5684677b74095069c3be4774c2992e4fdc diff --git a/trunk/include/sound/ac97_codec.h b/trunk/include/sound/ac97_codec.h index 446afc3ea27f..758f8bf133c7 100644 --- a/trunk/include/sound/ac97_codec.h +++ b/trunk/include/sound/ac97_codec.h @@ -265,6 +265,7 @@ /* specific - Analog Devices */ #define AC97_AD_TEST 0x5a /* test register */ +#define AC97_AD_TEST2 0x5c /* undocumented test register 2 */ #define AC97_AD_CODEC_CFG 0x70 /* codec configuration */ #define AC97_AD_JACK_SPDIF 0x72 /* Jack Sense & S/PDIF */ #define AC97_AD_SERIAL_CFG 0x74 /* Serial Configuration */ diff --git a/trunk/sound/pci/ac97/ac97_patch.c b/trunk/sound/pci/ac97/ac97_patch.c index 7f197c780816..094cfc1f3a19 100644 --- a/trunk/sound/pci/ac97/ac97_patch.c +++ b/trunk/sound/pci/ac97/ac97_patch.c @@ -1824,6 +1824,8 @@ static const struct snd_kcontrol_new snd_ac97_ad1888_controls[] = { .get = snd_ac97_ad1888_lohpsel_get, .put = snd_ac97_ad1888_lohpsel_put }, + AC97_SINGLE("V_REFOUT Enable", AC97_AD_MISC, 2, 1, 1), + AC97_SINGLE("High Pass Filter Enable", AC97_AD_TEST2, 12, 1, 1), AC97_SINGLE("Spread Front to Surround and Center/LFE", AC97_AD_MISC, 7, 1, 0), { .iface = SNDRV_CTL_ELEM_IFACE_MIXER,