projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0bdaa
)
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>
Wed, 10 Mar 2021 12:48:27 +0000
(12:48 +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);