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: 2d877d0659 ("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>
This commit is contained in:
Charles Keepax 2025-11-28 10:28:41 +00:00 committed by Mark Brown
parent 816c9cac35
commit b025f01ee9
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 2 additions and 0 deletions

View File

@ -39,6 +39,8 @@ config SND_SOC_SDCA_OPTIONAL
config SND_SOC_SDCA_CLASS config SND_SOC_SDCA_CLASS
tristate "SDCA Class Driver" tristate "SDCA Class Driver"
depends on SOUNDWIRE
depends on HID=y || HID=SND_SOC_SDCA
depends on SND_SOC_SDCA depends on SND_SOC_SDCA
select SND_SOC_SDCA_CLASS_FUNCTION select SND_SOC_SDCA_CLASS_FUNCTION
select SND_SOC_SDCA_FDL select SND_SOC_SDCA_FDL