]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: codecs: lpass-va-macro: Fix LPASS Codec Version for SC7280
authorLuca Weiss <luca.weiss@fairphone.com>
Tue, 26 May 2026 15:03:05 +0000 (17:03 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 29 Jun 2026 13:33:20 +0000 (14:33 +0100)
commit0773610eef71c30df3cb4c113c8215625d2a7c23
treece697079d178f558add580532d8f8e19b65f9322
parentdc59e4fea9d83f03bad6bddf3fa2e52491777482
ASoC: codecs: lpass-va-macro: Fix LPASS Codec Version for SC7280

According to both the static definition in downstream...

  yupik-audio-overlay.dtsi: qcom,bolero-version = <4>;
  #define BOLERO_VERSION_2_0 0x0004)

and the runtime detection:

  CDC_VA_TOP_CSR_CORE_ID_0=0x1
  CDC_VA_TOP_CSR_CORE_ID_1=0xf

SC7280 has LPASS Codec Version 2.0 and not, as declared with
sm8250_va_data LPASS_CODEC_VERSION_1_0.

Create new va_macro_data with .version not set to use the runtime
detection and correctly get .version = LPASS_CODEC_VERSION_2_0.

Fixes: 77212f300bfd ("ASoC: codecs: lpass-va-macro: set the default codec version for sm8250")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Link: https://patch.msgid.link/20260526-sc7280-va-macro-2-0-v1-1-2c1b572fa388@fairphone.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/lpass-va-macro.c