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

ASoC: SDCA: Fixup some more Kconfig issues

As the class driver is manually selectable, it needs to depend on
SOUNDWIRE, which is obviously necessary. Also the depends on in
SND_SOC_SDCA_HID needs to be pulled into SND_SOC_SDCA_CLASS as well,
since HID is selected by the class driver.

Fixes: 2d877d0659cb ("ASoC: SDCA: Add basic SDCA class driver")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202511281223.DDs12LiC-lkp@intel.com/
Closes: https://lore.kernel.org/oe-kbuild-all/202511280822.i2fveMpR-lkp@intel.com/
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20251128102841.2930808-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Charles Keepax and committed by
Mark Brown
b025f01e 816c9cac

+2
+2
sound/soc/sdca/Kconfig
··· 39 39 40 40 config SND_SOC_SDCA_CLASS 41 41 tristate "SDCA Class Driver" 42 + depends on SOUNDWIRE 43 + depends on HID=y || HID=SND_SOC_SDCA 42 44 depends on SND_SOC_SDCA 43 45 select SND_SOC_SDCA_CLASS_FUNCTION 44 46 select SND_SOC_SDCA_FDL