[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1636515921-31694-2-git-send-email-u0084500@gmail.com>
Date: Wed, 10 Nov 2021 11:45:19 +0800
From: cy_huang <u0084500@...il.com>
To: broonie@...nel.org, perex@...ex.cz, tiwai@...e.com
Cc: oder_chiou@...ltek.com, lgirdwood@...il.com,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org,
cy_huang@...htek.com, allen_lin@...htek.com
Subject: [PATCH v2 1/3] ASoC: rt9120: Update internal ocp level to the correct value
From: ChiYuan Huang <cy_huang@...htek.com>
Update internal ocp level to correct value.
Even the wrong ocp setting can also make the sound output, but the power
cannot match the IC capability.
Signed-off-by: ChiYuan Huang <cy_huang@...htek.com>
---
sound/soc/codecs/rt9120.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/sound/soc/codecs/rt9120.c b/sound/soc/codecs/rt9120.c
index f957498..032c520 100644
--- a/sound/soc/codecs/rt9120.c
+++ b/sound/soc/codecs/rt9120.c
@@ -149,8 +149,7 @@ static int rt9120_codec_probe(struct snd_soc_component *comp)
snd_soc_component_init_regmap(comp, data->regmap);
/* Internal setting */
- snd_soc_component_write(comp, RT9120_REG_INTERNAL1, 0x03);
- snd_soc_component_write(comp, RT9120_REG_INTERNAL0, 0x69);
+ snd_soc_component_write(comp, RT9120_REG_INTERNAL0, 0x04);
return 0;
}
--
2.7.4
Powered by blists - more mailing lists