]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: SDCA: Fixup some more Kconfig issues
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Fri, 28 Nov 2025 10:28:41 +0000 (10:28 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 28 Nov 2025 11:48:02 +0000 (11:48 +0000)
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>
sound/soc/sdca/Kconfig

index 3c6bf0e2c2f01bea9f7b4c94eb88d18c7ce8324b..fabb69a3450d3b11327bcc7658bb54b057dcb47d 100644 (file)
@@ -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