From: Jack Yu Date: Mon, 22 Feb 2021 09:00:57 +0000 (+0800) Subject: ASoC: rt1015: enable BCLK detection after calibration X-Git-Tag: accepted/tizen/unified/20230118.172025~7091^2~1^2~197^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2979ef760e73e2a1a34cd4da5d2c78371dfe1028;p=platform%2Fkernel%2Flinux-rpi.git ASoC: rt1015: enable BCLK detection after calibration Enable BCLK detection after calibration. Signed-off-by: Jack Yu Link: https://lore.kernel.org/r/20210222090057.29532-2-jack.yu@realtek.com Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c index 9076749..844e407 100644 --- a/sound/soc/codecs/rt1015.c +++ b/sound/soc/codecs/rt1015.c @@ -514,6 +514,7 @@ static void rt1015_calibrate(struct rt1015_priv *rt1015) msleep(300); regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x0008); regmap_write(regmap, RT1015_SYS_RST1, 0x05F5); + regmap_write(regmap, RT1015_CLK_DET, 0x8000); regcache_cache_bypass(regmap, false); regcache_mark_dirty(regmap);