mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00
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>
This commit is contained in:
parent
33a499668e
commit
a806793f23
@ -134,15 +134,14 @@ config SND_SOC_AMD_RPL_ACP6x
|
|||||||
|
|
||||||
config SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
config SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
||||||
tristate
|
tristate
|
||||||
select SOUNDWIRE_AMD if SND_SOC_AMD_SOUNDWIRE != n
|
|
||||||
select SND_AMD_SOUNDWIRE_ACPI if ACPI
|
select SND_AMD_SOUNDWIRE_ACPI if ACPI
|
||||||
|
|
||||||
config SND_SOC_AMD_SOUNDWIRE
|
config SND_SOC_AMD_SOUNDWIRE
|
||||||
tristate "Support for SoundWire based AMD platforms"
|
tristate "Support for SoundWire based AMD platforms"
|
||||||
default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
default SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
||||||
depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
depends on SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE
|
||||||
depends on ACPI && SOUNDWIRE
|
depends on ACPI
|
||||||
depends on !(SOUNDWIRE=m && SND_SOC_AMD_SOUNDWIRE_LINK_BASELINE=y)
|
depends on SOUNDWIRE_AMD
|
||||||
help
|
help
|
||||||
This adds support for SoundWire for AMD platforms.
|
This adds support for SoundWire for AMD platforms.
|
||||||
Say Y if you want to enable SoundWire links with SOF.
|
Say Y if you want to enable SoundWire links with SOF.
|
||||||
|
Loading…
Reference in New Issue
Block a user