ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 3 Apr 2025 16:02:08 +0000 (17:02 +0100)
committerMark Brown <broonie@kernel.org>
Sun, 6 Apr 2025 22:17:49 +0000 (23:17 +0100)
commitd7bff1415e85b889dc8908be6aedba8807ae5e37
tree7c43251ac2e62baccdab3273c9effd53a604a07f
parent0af2f6be1b4281385b618cb86ad946eded089ac8
ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate

Currently the VI feedback rate is set to fixed 8K, fix this by getting
the correct rate from params_rate.

Without this patch incorrect rate will be set on the VI feedback
recording resulting in rate miss match and audio artifacts.

Fixes: 2c4066e5d428 ("ASoC: codecs: lpass-wsa-macro: add dapm widgets and route")
Cc: stable@vger.kernel.org
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://patch.msgid.link/20250403160209.21613-2-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-wsa-macro.c