31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
From 9f33331fa9b934124720c20fa8a7bdc8d5935a3e Mon Sep 17 00:00:00 2001
|
|
From: Ondrej Jirman <megi@xff.cz>
|
|
Date: Fri, 29 Jul 2022 01:08:29 +0200
|
|
Subject: [PATCH 171/389] ASoC: codec: es8316: "DAC Soft Ramp Rate" is just a 2
|
|
bit control
|
|
|
|
Max value should be 3, otherwise "DAC Soft Ramp Switch" will be
|
|
overwritten by this control.
|
|
|
|
Signed-off-by: Ondrej Jirman <megi@xff.cz>
|
|
---
|
|
sound/soc/codecs/es8316.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/sound/soc/codecs/es8316.c b/sound/soc/codecs/es8316.c
|
|
index 056c3082fe02..b20c241dd574 100644
|
|
--- a/sound/soc/codecs/es8316.c
|
|
+++ b/sound/soc/codecs/es8316.c
|
|
@@ -95,7 +95,7 @@ static const struct snd_kcontrol_new es8316_snd_controls[] = {
|
|
SOC_DOUBLE_R_TLV("DAC Playback Volume", ES8316_DAC_VOLL,
|
|
ES8316_DAC_VOLR, 0, 0xc0, 1, dac_vol_tlv),
|
|
SOC_SINGLE("DAC Soft Ramp Switch", ES8316_DAC_SET1, 4, 1, 1),
|
|
- SOC_SINGLE("DAC Soft Ramp Rate", ES8316_DAC_SET1, 2, 4, 0),
|
|
+ SOC_SINGLE("DAC Soft Ramp Rate", ES8316_DAC_SET1, 2, 3, 0),
|
|
SOC_SINGLE("DAC Notch Filter Switch", ES8316_DAC_SET2, 6, 1, 0),
|
|
SOC_SINGLE("DAC Double Fs Switch", ES8316_DAC_SET2, 7, 1, 0),
|
|
SOC_SINGLE("DAC Stereo Enhancement", ES8316_DAC_SET3, 0, 7, 0),
|
|
--
|
|
2.35.3
|
|
|