]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: es9356-sdca: Depend on CONFIG_SND_SOC_SDCA
authorNathan Chancellor <nathan@kernel.org>
Tue, 26 May 2026 21:53:14 +0000 (14:53 -0700)
committerMark Brown <broonie@kernel.org>
Wed, 27 May 2026 10:14:01 +0000 (11:14 +0100)
When building without CONFIG_SND_SOC_SDCA, there is an error at link
time when building the es9356-sdca driver:

  ERROR: modpost: "sdca_asoc_q78_get_volsw" [sound/soc/codecs/snd-soc-es9356.ko] undefined!
  ERROR: modpost: "sdca_asoc_q78_put_volsw" [sound/soc/codecs/snd-soc-es9356.ko] undefined!

Add an explicit dependency on CONFIG_SND_SOC_SDCA to ensure these
symbols are always present when building the driver.

Fixes: 5d9cb740cd38 ("ASoC: es9356-sdca: Add ES9356 SDCA driver")
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Link: https://patch.msgid.link/20260526-es9356-dep-fixes-v1-3-39ac16f43d54@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 9b6c7c7533bbcb7f98436f8fc0c9c52d3e5de633..a7e3ee80485a6a2c4a12a96b0f192f8064fc4f63 100644 (file)
@@ -1302,6 +1302,7 @@ config SND_SOC_ES8389
 
 config SND_SOC_ES9356
        tristate "Everest Semi ES9356 CODEC SDW"
+       depends on SND_SOC_SDCA
        depends on SOUNDWIRE
        select REGMAP_SOUNDWIRE
        select REGMAP_SOUNDWIRE_MBQ