[PATCH] ASoC: tas2562: Fixed incorrect amp_level setting.

jonghwan Choi jhbird.choi at gmail.com
Thu Mar 19 07:16:38 CET 2020


>From 9f837d75f16ab18342ac517d5b1e5259ab9b797e Mon Sep 17 00:00:00 2001

From: Jonghwan Choi <charlie.jh at kakaocorp.com>

Date: Thu, 19 Mar 2020 14:44:14 +0900

Subject: [PATCH]  ASoC: tas2562: Fixed incorrect amp_level setting.


Signed-off-by: Jonghwan Choi <charlie.jh at kakaocorp.com>

---

 sound/soc/codecs/tas2562.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)


diff --git a/sound/soc/codecs/tas2562.c b/sound/soc/codecs/tas2562.c

index be52886a5edb..fb2233ca9103 100644

--- a/sound/soc/codecs/tas2562.c

+++ b/sound/soc/codecs/tas2562.c

@@ -409,7 +409,7 @@ static const struct snd_kcontrol_new vsense_switch =

                        1, 1);


 static const struct snd_kcontrol_new tas2562_snd_controls[] = {

-       SOC_SINGLE_TLV("Amp Gain Volume", TAS2562_PB_CFG1, 0, 0x1c, 0,

+       SOC_SINGLE_TLV("Amp Gain Volume", TAS2562_PB_CFG1, 1, 0x1c, 0,

                       tas2562_dac_tlv),

 };


-- 

2.17.1


More information about the Alsa-devel mailing list