Commit 0d2b6e39 authored by Jack Yu's avatar Jack Yu Committed by Mark Brown

ASoC: rt1015: enable BCLK detection after calibration

Enable BCLK detection after calibration.
Signed-off-by: default avatarJack Yu <jack.yu@realtek.com>
Link: https://lore.kernel.org/r/20210222090057.29532-2-jack.yu@realtek.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9e0bdaa9
...@@ -514,6 +514,7 @@ static void rt1015_calibrate(struct rt1015_priv *rt1015) ...@@ -514,6 +514,7 @@ static void rt1015_calibrate(struct rt1015_priv *rt1015)
msleep(300); msleep(300);
regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x0008); regmap_write(regmap, RT1015_PWR_STATE_CTRL, 0x0008);
regmap_write(regmap, RT1015_SYS_RST1, 0x05F5); regmap_write(regmap, RT1015_SYS_RST1, 0x05F5);
regmap_write(regmap, RT1015_CLK_DET, 0x8000);
regcache_cache_bypass(regmap, false); regcache_cache_bypass(regmap, false);
regcache_mark_dirty(regmap); regcache_mark_dirty(regmap);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment