[SRU][R][PATCH 09/18] ASoC: SDCA: Fixup some more Kconfig issues
Chris Chiu
chris.chiu at canonical.com
Tue Mar 17 05:21:54 UTC 2026
From: Charles Keepax <ckeepax at opensource.cirrus.com>
BugLink: https://bugs.launchpad.net/bugs/2139391
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 at 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 at opensource.cirrus.com>
Link: https://patch.msgid.link/20251128102841.2930808-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie at kernel.org>
(cherry picked from commit b025f01ee952593d583716505764f116a9d578e0)
Signed-off-by: Chris Chiu <chris.chiu at canonical.com>
---
sound/soc/sdca/Kconfig | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/sdca/Kconfig b/sound/soc/sdca/Kconfig
index 3c6bf0e2c2f0..fabb69a3450d 100644
--- a/sound/soc/sdca/Kconfig
+++ b/sound/soc/sdca/Kconfig
@@ -39,6 +39,8 @@ config SND_SOC_SDCA_OPTIONAL
config SND_SOC_SDCA_CLASS
tristate "SDCA Class Driver"
+ depends on SOUNDWIRE
+ depends on HID=y || HID=SND_SOC_SDCA
depends on SND_SOC_SDCA
select SND_SOC_SDCA_CLASS_FUNCTION
select SND_SOC_SDCA_FDL
--
2.43.0
More information about the kernel-team
mailing list