projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b861106
)
ASoC: codecs: lpass-rx-macro: set npl clock rate correctly
author
Srinivas Kandagatla
<srinivas.kandagatla@linaro.org>
Wed, 31 Mar 2021 17:12:35 +0000
(18:12 +0100)
committer
Mark Brown
<broonie@kernel.org>
Thu, 1 Apr 2021 11:18:09 +0000
(12:18 +0100)
NPL clock rate is twice the MCLK rate, so set this correctly to
avoid soundwire timeouts.
Fixes: af3d54b99764 ("ASoC: codecs: lpass-rx-macro: add support for lpass rx macro")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link:
https://lore.kernel.org/r/20210331171235.24824-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-rx-macro.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/lpass-rx-macro.c
b/sound/soc/codecs/lpass-rx-macro.c
index 8c04b3b2c9075df41fa38cb2ed503ea39bf74a7f..7878da89d8e092c2d267b9bd6b442c33a6ecbd76 100644
(file)
--- a/
sound/soc/codecs/lpass-rx-macro.c
+++ b/
sound/soc/codecs/lpass-rx-macro.c
@@
-3551,7
+3551,7
@@
static int rx_macro_probe(struct platform_device *pdev)
/* set MCLK and NPL rates */
clk_set_rate(rx->clks[2].clk, MCLK_FREQ);
- clk_set_rate(rx->clks[3].clk, MCLK_FREQ);
+ clk_set_rate(rx->clks[3].clk,
2 *
MCLK_FREQ);
ret = clk_bulk_prepare_enable(RX_NUM_CLKS_MAX, rx->clks);
if (ret)