diff options
author | Jaya Kumar <jayakumar.alsa@gmail.com> | 2006-06-23 15:18:41 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@suse.cz> | 2006-06-28 19:30:45 +0200 |
commit | 02856b5684677b74095069c3be4774c2992e4fdc (patch) | |
tree | 557b1e5936e025ab7713788156a5a24ae4d8995a /sound/pci/ac97 | |
parent | 02ada9c112eb00ecb9d2c04b6132f48ade534dbf (diff) | |
download | kernel_samsung_smdk4412-02856b5684677b74095069c3be4774c2992e4fdc.zip kernel_samsung_smdk4412-02856b5684677b74095069c3be4774c2992e4fdc.tar.gz kernel_samsung_smdk4412-02856b5684677b74095069c3be4774c2992e4fdc.tar.bz2 |
[ALSA] AD1888 mixer controls for DC mode
This patch adds two mixer controls. The V_REFOUT enable is a
documented register that couples the microphone input lines
to the V_REFOUT DC source. The High Pass Filter enable in the
AC97_AD_TEST2 (0x5c) is an undocumented register provided by
Miller Puckette via Analog Devices that enables the AD codec
to apply a high pass filter to the input.
Signed-off-by: Jaya Kumar <jayakumar.alsa@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/ac97')
-rw-r--r-- | sound/pci/ac97/ac97_patch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/ac97/ac97_patch.c b/sound/pci/ac97/ac97_patch.c index 7f197c7..094cfc1 100644 --- a/sound/pci/ac97/ac97_patch.c +++ b/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, |