ASoC: Address es9356 build failures without CONFIG_SND_SOC_SDCA

Nathan Chancellor <nathan@kernel.org> says:

This series addresses the build failure I reported at [1]. The first
patch allows CONFIG_SND_SOC_SDCA to be selected by a user. The third
patch fixes the actual build failure by requiring CONFIG_SND_SOC_SDCA to
enable CONFIG_SND_SOC_ES9356. The second patch is a standalone clean up
to make the third patch diff cleaner. If there are any issues, please
let me know.

[1]: https://lore.kernel.org/20260518224657.GA536765@ax162/

Link: https://patch.msgid.link/20260526-es9356-dep-fixes-v1-0-39ac16f43d54@kernel.org
This commit is contained in:
Mark Brown 2026-05-27 11:14:03 +01:00
commit 05b9c15204
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
2 changed files with 6 additions and 5 deletions

View File

@ -1301,10 +1301,11 @@ config SND_SOC_ES8389
depends on I2C
config SND_SOC_ES9356
tristate "Everest Semi ES9356 CODEC SDW"
depends on SOUNDWIRE
select REGMAP_SOUNDWIRE
select REGMAP_SOUNDWIRE_MBQ
tristate "Everest Semi ES9356 CODEC SDW"
depends on SND_SOC_SDCA
depends on SOUNDWIRE
select REGMAP_SOUNDWIRE
select REGMAP_SOUNDWIRE_MBQ
config SND_SOC_FRAMER
tristate "Framer codec"

View File

@ -2,7 +2,7 @@
menu "SoundWire (SDCA)"
config SND_SOC_SDCA
tristate
tristate "SDCA core support"
depends on ACPI
select AUXILIARY_BUS
help