]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 May 2025 05:44:11 +0000 (07:44 +0200)
commit1a19d2306753a670ab19148317185c99b0b7c8c7
treec6a68f8a24fca60e799ac9826f3d40d626b18729
parent440225ed4fbb317de8566ae0ed5feef34b8290f2
ASoC: codecs:lpass-wsa-macro: Fix vi feedback rate

commit d7bff1415e85b889dc8908be6aedba8807ae5e37 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/codecs/lpass-wsa-macro.c