mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 13:36:47 +07:00
e4e9e05409
commit 739be96
"ASoC: Fix build dependency for SND_ATMEL_SOC_SSC"
introduces below build warnings:
drivers/misc/Kconfig:212:error: recursive dependency detected!
drivers/misc/Kconfig:212: symbol ATMEL_SSC is selected by SND_ATMEL_SOC_SSC
sound/soc/atmel/Kconfig:9: symbol SND_ATMEL_SOC_SSC is selected by SND_AT91_SOC_SAM9G20_WM8731
sound/soc/atmel/Kconfig:18: symbol SND_AT91_SOC_SAM9G20_WM8731 depends on ATMEL_SSC
SND_ATMEL_SOC_SSC needs ATMEL_SSC to pass compilation.
This patch remove the "select ATMEL_SSC" from SND_ATMEL_SOC_SSC to avoid above
warnings. And then ensures all the machine drivers that select SND_ATMEL_SOC_SSC
need to depend on ATMEL_SSC.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
config SND_ATMEL_SOC
|
|
tristate "SoC Audio for the Atmel System-on-Chip"
|
|
depends on ARCH_AT91
|
|
help
|
|
Say Y or M if you want to add support for codecs attached to
|
|
the ATMEL SSC interface. You will also need
|
|
to select the audio interfaces to support below.
|
|
|
|
config SND_ATMEL_SOC_SSC
|
|
tristate
|
|
depends on SND_ATMEL_SOC
|
|
help
|
|
Say Y or M if you want to add support for codecs the
|
|
ATMEL SSC interface. You will also needs to select the individual
|
|
machine drivers to support below.
|
|
|
|
config SND_AT91_SOC_SAM9G20_WM8731
|
|
tristate "SoC Audio support for WM8731-based At91sam9g20 evaluation board"
|
|
depends on ATMEL_SSC && ARCH_AT91SAM9G20 && SND_ATMEL_SOC && \
|
|
AT91_PROGRAMMABLE_CLOCKS
|
|
select SND_ATMEL_SOC_SSC
|
|
select SND_SOC_WM8731
|
|
help
|
|
Say Y if you want to add support for SoC audio on WM8731-based
|
|
AT91sam9g20 evaluation board.
|
|
|
|
config SND_AT91_SOC_AFEB9260
|
|
tristate "SoC Audio support for AFEB9260 board"
|
|
depends on ATMEL_SSC && ARCH_AT91 && MACH_AFEB9260 && SND_ATMEL_SOC
|
|
select SND_ATMEL_SOC_SSC
|
|
select SND_SOC_TLV320AIC23
|
|
help
|
|
Say Y here to support sound on AFEB9260 board.
|