From 94d6a092ba910fc1adaa62197c614e89fc05682c Mon Sep 17 00:00:00 2001 From: Meiyou Chen Date: Tue, 12 Nov 2019 09:24:03 +0800 Subject: [PATCH] ASoC: rt5651: fix hdmi-in noise Change-Id: I23aa42b4c0775be5595a67b61ffce23845d6079b Signed-off-by: Meiyou Chen --- sound/soc/codecs/rt5651.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/codecs/rt5651.c b/sound/soc/codecs/rt5651.c index 9f8b3aa34a2c..5976786dc813 100644 --- a/sound/soc/codecs/rt5651.c +++ b/sound/soc/codecs/rt5651.c @@ -316,6 +316,8 @@ static int rt5651_asrc_put(struct snd_kcontrol *kcontrol, regmap_write(rt5651->regmap, 0x83, 0x1000); regmap_write(rt5651->regmap, 0x84, 0x7000); snd_soc_component_update_bits(component, 0x64, 0x0200, 0x0200); + snd_soc_component_update_bits(component, RT5651_D_MISC, 0xc00, + 0xc00); } else { regmap_write(rt5651->regmap, 0x83, 0x0); regmap_write(rt5651->regmap, 0x84, 0x0);