]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: codecs: lpass-tx-macro: fix SM6115 support
authorSrinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Fri, 31 Oct 2025 12:06:58 +0000 (12:06 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 13 Nov 2025 18:54:20 +0000 (18:54 +0000)
SM6115 does have soundwire controller in tx. For some reason
we ended up with this incorrect patch.

Fix this by adding the flag to reflect this in SoC data.

Fixes: 510c46884299 ("ASoC: codecs: lpass-tx-macro: Add SM6115 support")
Cc: Stable@vger.kernel.org
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20251031120703.590201-2-srinivas.kandagatla@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-tx-macro.c

index 1da34cb3505f359873c8af8ca71336da475fda88..c7d4dc553e6aad3a290ee3a539bc36207865ff21 100644 (file)
@@ -2473,7 +2473,8 @@ static const struct tx_macro_data lpass_ver_9_2 = {
 };
 
 static const struct tx_macro_data lpass_ver_10_sm6115 = {
-       .flags                  = LPASS_MACRO_FLAG_HAS_NPL_CLOCK,
+       .flags                  = LPASS_MACRO_FLAG_HAS_NPL_CLOCK |
+                                 LPASS_MACRO_FLAG_RESET_SWR,
        .ver                    = LPASS_VER_10_0_0,
        .extra_widgets          = tx_macro_dapm_widgets_v9_2,
        .extra_widgets_num      = ARRAY_SIZE(tx_macro_dapm_widgets_v9_2),