ASoC: amd: acp: Wrap AMD Audio ACP components in SND_SOC_AMD_ACP_COMMON
The build only descends into sound/soc/amd/acp/ if
CONFIG_SND_SOC_AMD_ACP_COMMON=y. Hence all later config symbols should
depend on SND_SOC_AMD_ACP_COMMON, to prevent asking the user about
config symbols for driver code that won't be build anyway.
Fixes: 623621a9f9
("ASoC: amd: Add common framework to support I2S on ACP SOC")
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/53d1d63bed1865293e6f5085ead21cdbb068fb15.1635260849.git.geert+renesas@glider.be
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Родитель
1198ff12cb
Коммит
f41d2ece95
|
@ -12,6 +12,8 @@ config SND_SOC_AMD_ACP_COMMON
|
||||||
This option enables common modules for Audio-Coprocessor i.e. ACP
|
This option enables common modules for Audio-Coprocessor i.e. ACP
|
||||||
IP block on AMD platforms.
|
IP block on AMD platforms.
|
||||||
|
|
||||||
|
if SND_SOC_AMD_ACP_COMMON
|
||||||
|
|
||||||
config SND_SOC_AMD_ACP_I2S
|
config SND_SOC_AMD_ACP_I2S
|
||||||
tristate
|
tristate
|
||||||
|
|
||||||
|
@ -49,3 +51,5 @@ config SND_SOC_AMD_SOF_MACH
|
||||||
select SND_SOC_AMD_MACH_COMMON
|
select SND_SOC_AMD_MACH_COMMON
|
||||||
help
|
help
|
||||||
This option enables SOF sound card support for ACP audio.
|
This option enables SOF sound card support for ACP audio.
|
||||||
|
|
||||||
|
endif # SND_SOC_AMD_ACP_COMMON
|
||||||
|
|
Загрузка…
Ссылка в новой задаче