diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2022-06-28 15:47:21 +0100 |
---|---|---|
committer | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-01-06 10:14:15 +0000 |
commit | 0d70505815b25b167b1bf739015b45d394373123 (patch) | |
tree | 726f776e533e69f6cd2ea54d110892790c6e6eda | |
parent | 18ef62341f7c7d5f34a8c5563d5c28f36b86c9b6 (diff) |
WIP: ASoC: codecs: lpass-rx: fix rate
DSP only supports 1920000, however the codec is trying to set this to 960000.
Fix this for now in codec but ideally we could deal with this by assigned-clocks-rate
in dt.
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
-rw-r--r-- | sound/soc/codecs/lpass-rx-macro.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c index a9ef9d5ffcc5c..10df189315d81 100644 --- a/sound/soc/codecs/lpass-rx-macro.c +++ b/sound/soc/codecs/lpass-rx-macro.c @@ -3578,7 +3578,7 @@ static int rx_macro_probe(struct platform_device *pdev) rx->dev = dev; /* set MCLK and NPL rates */ - clk_set_rate(rx->mclk, MCLK_FREQ); + clk_set_rate(rx->mclk, 2 * MCLK_FREQ); clk_set_rate(rx->npl, 2 * MCLK_FREQ); ret = clk_prepare_enable(rx->macro); |