aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChiYuan Huang <cy_huang@richtek.com>2021-11-10 11:45:19 +0800
committerMark Brown <broonie@kernel.org>2021-11-12 18:16:35 +0000
commit9bb4e4bae5a19ca68527392e85ad5ee88fc4b786 (patch)
tree3e9fd2974939adc94acadbd0120b599c0dbf787a
parentASoC: Intel: sof_sdw: Add support for SKU 0B12 product (diff)
ASoC: rt9120: Update internal ocp level to the correct value
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@richtek.com> Link: https://lore.kernel.org/r/1636515921-31694-2-git-send-email-u0084500@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt9120.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/rt9120.c b/sound/soc/codecs/rt9120.c
index f9574980a407..032c520aca0c 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;
}