mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt766: fix HID dependency for SND_SOC_SDCA_HID
@ 2026-09-15 21:16 Arnd Bergmann
  2026-09-16 15:10 ` Mark Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Arnd Bergmann @ 2026-09-15 21:16 UTC (permalink / raw)
  To: Liam Girdwood, Mark Brown, Jaroslav Kysela, Takashi Iwai,
	Charles Keepax, Shuming Fan
  Cc: Arnd Bergmann, Richard Fitzgerald, Srinivas Kandagatla,
	Niranjan H Y, Ajay Kumar Nandam, Alexey Klimov, Julian Braha,
	Peng Fan, Andy Shevchenko, linux-sound, linux-kernel

From: Arnd Bergmann <arnd@arndb.de>

Selecting SND_SOC_SDCA_HID only works if HID is enabled:

WARNING: unmet direct dependencies detected for SND_SOC_SDCA_HID
  Depends on [n]: SOUND [=y] && SND [=y] && SND_SOC [=y] && SND_SOC_SDCA [=y] && (HID [=n]=y [=y] || HID [=n]=SND_SOC_SDCA [=y])
  Selected by [y]:
  - SND_SOC_RT766_SDCA_SDW [=y] && SOUND [=y] && SND [=y] && SND_SOC [=y] && SOUNDWIRE [=y] && SND_SOC_SDCA [=y]

Add this an a dependency to SND_SOC_RT766_SDCA_SDW as well.

Fixes: b50ecf5873df ("ASoC: rt766: add RT766/RT767 SDCA driver")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
---
 sound/soc/codecs/Kconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index d3730c4da51b..35879cf79472 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -1992,6 +1992,7 @@ config SND_SOC_RT766_SDCA_SDW
 	tristate "Realtek RT766 SDCA Codec - SDW"
 	depends on SOUNDWIRE
 	depends on SND_SOC_SDCA
+	depends on HID
 	select SND_SOC_SDCA_HID
 	select SND_SOC_SDCA_IRQ
 	select REGMAP_SOUNDWIRE
-- 
2.53.0


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-09-16 15:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 21:16 [PATCH] ASoC: rt766: fix HID dependency for SND_SOC_SDCA_HID Arnd Bergmann
2026-09-16 15:10 ` Mark Brown
2026-09-16 15:29   ` Andy Shevchenko
2026-09-16 15:36   ` Arnd Bergmann
2026-09-16 15:54     ` Charles Keepax
2026-09-16 15:58     ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®