diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2021-07-13 15:04:17 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-14 13:29:04 +0100 |
commit | 9431f8df233f808baa5fcc62b520cc6503fdf022 (patch) | |
tree | 4fdc082b14266c032f1a434a6e7dc4315771a2ff | |
parent | aa21548e34c19c12e924c736f3fd9e6a4d0f5419 (diff) | |
download | lwn-9431f8df233f808baa5fcc62b520cc6503fdf022.tar.gz lwn-9431f8df233f808baa5fcc62b520cc6503fdf022.zip |
ASoC: codecs: wcd938x: make sdw dependency explicit in Kconfig
currenlty wcd938x has only soundwire interface and depends on
symbols from wcd938x soundwire module, so make this dependency
explicit in Kconfig
Without this one of the randconfig endup setting
CONFIG_SND_SOC_WCD938X=y
CONFIG_SND_SOC_WCD938X_SDW=m
resulting in some undefined reference to wcd938x_sdw* symbols.
Reported-by: kernel test robot <lkp@intel.com>
Fixes: 045442228868 ("ASoC: codecs: wcd938x: add audio routing and Kconfig")
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20210713140417.23693-1-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index 3a42c4611414..032c87637f63 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -1557,6 +1557,7 @@ config SND_SOC_WCD934X Qualcomm SoCs like SDM845. config SND_SOC_WCD938X + depends on SND_SOC_WCD938X_SDW tristate config SND_SOC_WCD938X_SDW |