mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-04 09:59:32 +00:00
ASoC: sgtl5000: fix buggy 'Capture Attenuate Switch' control
The SGTL5000 Capture Attenuate Switch (or "ADC Volume Range Reduction" as it is called in the manual) is single bit only. Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de> Reviewed-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
f091f3f073
commit
65f2b22676
1 changed files with 1 additions and 1 deletions
|
@ -398,7 +398,7 @@ static const struct snd_kcontrol_new sgtl5000_snd_controls[] = {
|
||||||
SOC_DOUBLE("Capture Volume", SGTL5000_CHIP_ANA_ADC_CTRL, 0, 4, 0xf, 0),
|
SOC_DOUBLE("Capture Volume", SGTL5000_CHIP_ANA_ADC_CTRL, 0, 4, 0xf, 0),
|
||||||
SOC_SINGLE_TLV("Capture Attenuate Switch (-6dB)",
|
SOC_SINGLE_TLV("Capture Attenuate Switch (-6dB)",
|
||||||
SGTL5000_CHIP_ANA_ADC_CTRL,
|
SGTL5000_CHIP_ANA_ADC_CTRL,
|
||||||
8, 2, 0, capture_6db_attenuate),
|
8, 1, 0, capture_6db_attenuate),
|
||||||
SOC_SINGLE("Capture ZC Switch", SGTL5000_CHIP_ANA_CTRL, 1, 1, 0),
|
SOC_SINGLE("Capture ZC Switch", SGTL5000_CHIP_ANA_CTRL, 1, 1, 0),
|
||||||
|
|
||||||
SOC_DOUBLE_TLV("Headphone Playback Volume",
|
SOC_DOUBLE_TLV("Headphone Playback Volume",
|
||||||
|
|
Loading…
Reference in a new issue