mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
ASoC: codecs: lpass-tx-macro: set npl clock rate correctly
NPL clock rate is twice the MCLK rate, so set this correctly to
avoid soundwire timeouts.
Fixes: c39667ddcf
("ASoC: codecs: lpass-tx-macro: add support for lpass tx macro")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210331171235.24824-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7c0d6e4820
commit
b861106f3c
@ -1811,7 +1811,7 @@ static int tx_macro_probe(struct platform_device *pdev)
|
||||
|
||||
/* set MCLK and NPL rates */
|
||||
clk_set_rate(tx->clks[2].clk, MCLK_FREQ);
|
||||
clk_set_rate(tx->clks[3].clk, MCLK_FREQ);
|
||||
clk_set_rate(tx->clks[3].clk, 2 * MCLK_FREQ);
|
||||
|
||||
ret = clk_bulk_prepare_enable(TX_NUM_CLKS_MAX, tx->clks);
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user