Re: [PATCH] ASoC: rt766: fix HID dependency for SND_SOC_SDCA_HID

From: Mark Brown

Date: Wed Sep 16 2026 - 11:16:34 EST


On Tue, Sep 15, 2026 at 11:16:34PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>

> Selecting SND_SOC_SDCA_HID only works if HID is enabled:

> --- 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

Should that be HID=y || HID=SND_SOC_SDCA like for SND_SOC_SDCA_HID and
SND_SOC_SDCA_CLASS? The dependencies on _CLASS should stop the
problematic cases from actually occurring but I'm not sure if it stops
the warning.

Attachment: signature.asc
Description: PGP signature