Skip to content

Commit b025f01

Browse files
charleskeepaxbroonie
authored andcommitted
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: 2d877d0 ("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>
1 parent 816c9ca commit b025f01

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

sound/soc/sdca/Kconfig

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ config SND_SOC_SDCA_OPTIONAL
3939

4040
config SND_SOC_SDCA_CLASS
4141
tristate "SDCA Class Driver"
42+
depends on SOUNDWIRE
43+
depends on HID=y || HID=SND_SOC_SDCA
4244
depends on SND_SOC_SDCA
4345
select SND_SOC_SDCA_CLASS_FUNCTION
4446
select SND_SOC_SDCA_FDL

0 commit comments

Comments
 (0)