Message ID | 20210222090057.29532-2-jack.yu@realtek.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 2979ef760e73e2a1a34cd4da5d2c78371dfe1028 |
Headers | show |
Series | [1/2] ASoC: rt1015: fix i2c communication error | expand |
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);