Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: codecs: lpass-wsa-macro: add missing select of common code

The Qualcomm LPASS WSA macro codec driver uses now parts of common
module, so it has to select SND_SOC_LPASS_MACRO_COMMON.

sound/soc/codecs/lpass-wsa-macro.o: in function `wsa_macro_probe':
sound/soc/codecs/lpass-wsa-macro.c:2767:(.text+0x1c9c): undefined reference to `lpass_macro_get_codec_version'

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202406272231.th1LtuLk-lkp@intel.com/
Fixes: 5dcf442bbbca ("ASoC: codecs: lpass-wsa-macro: Prepare to accommodate new codec versions")
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://patch.msgid.link/20240627125203.171048-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Krzysztof Kozlowski and committed by
Mark Brown
36ac1e29 d2b19556

+1
+1
sound/soc/codecs/Kconfig
··· 2557 2557 config SND_SOC_LPASS_WSA_MACRO 2558 2558 depends on COMMON_CLK 2559 2559 select REGMAP_MMIO 2560 + select SND_SOC_LPASS_MACRO_COMMON 2560 2561 tristate "Qualcomm WSA Macro in LPASS(Low Power Audio SubSystem)" 2561 2562 2562 2563 config SND_SOC_LPASS_VA_MACRO