OSDN Git Service

ASoC: rt9120: Update internal ocp level to the correct value
authorChiYuan Huang <cy_huang@richtek.com>
Wed, 10 Nov 2021 03:45:19 +0000 (11:45 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 12 Nov 2021 18:16:35 +0000 (18:16 +0000)
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>
sound/soc/codecs/rt9120.c

index f957498..032c520 100644 (file)
@@ -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;
 }