Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: amd: simplify soundwire dependencies for legacy stack

The CONFIG_SOUNDWIRE_AMD is a user-visible option, it should be never
selected by another driver.
So replace the extra complexity with a normal Kconfig dependency in
SND_SOC_AMD_SOUNDWIRE.

Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://msgid.link/r/20240322112018.3063344-1-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Vijendar Mukunda and committed by
Mark Brown
a806793f 33a49966

+2 -3
+2 -3
sound/soc/amd/Kconfig
··· 134 134 135 135 config SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE 136 136 tristate 137 - select SOUNDWIRE_AMD if SND_SOC_AMD_SOUNDWIRE != n 138 137 select SND_AMD_SOUNDWIRE_ACPI if ACPI 139 138 140 139 config SND_SOC_AMD_SOUNDWIRE 141 140 tristate "Support for SoundWire based AMD platforms" 142 141 default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE 143 142 depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE 144 - depends on ACPI && SOUNDWIRE 145 - depends on !(SOUNDWIRE=m && SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE=y) 143 + depends on ACPI 144 + depends on SOUNDWIRE_AMD 146 145 help 147 146 This adds support for SoundWire for AMD platforms. 148 147 Say Y if you want to enable SoundWire links with SOF.