projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fb0887
)
ASoC: rt1015: enable BCLK detection after calibration
author
Jack Yu
<jack.yu@realtek.com>
Mon, 22 Feb 2021 09:00:57 +0000
(17:00 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 22 Feb 2021 14:26:26 +0000
(14:26 +0000)
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>
sound/soc/codecs/rt1015.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt1015.c
b/sound/soc/codecs/rt1015.c
index
9076749
..
844e407
100644
(file)
--- 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);