diff options
author | Jack Yu <jack.yu@realtek.com> | 2021-02-22 17:00:57 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-10 12:48:27 +0000 |
commit | 0d2b6e398975bcc6a29f1d466229a312dde71b53 (patch) | |
tree | 5372aac5b3bf1cabfda2443732b4662c0c887db6 /sound | |
parent | 9e0bdaa9fcb8c64efc1487a7fba07722e7bc515e (diff) |
ASoC: rt1015: enable BCLK detection after calibration
Enable BCLK detection after calibration.
Signed-off-by: Jack Yu <jack.yu@realtek.com>
Link: https://lore.kernel.org/r/20210222090057.29532-2-jack.yu@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/rt1015.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt1015.c b/sound/soc/codecs/rt1015.c index 90767490af82..844e4079d176 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); |