linux_dsm_epyc7002/sound/soc/atmel
Arnd Bergmann 9437bfda00
ASoC: atmel: fix atmel_ssc_set_audio link failure
The ssc audio driver can call into both pdc and dma backends.  With the
latest rework, the logic to do this in a safe way avoiding link errors
was removed, bringing back link errors that were fixed long ago in commit
061981ff8c ("ASoC: atmel: properly select dma driver state") such as

sound/soc/atmel/atmel_ssc_dai.o: In function `atmel_ssc_set_audio':
atmel_ssc_dai.c:(.text+0xac): undefined reference to `atmel_pcm_pdc_platform_register'

Fix it this time using Makefile hacks and a comment to prevent this
from accidentally getting removed again rather than Kconfig hacks.

Fixes: 1829141055 ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20200130130545.31148-1-codrin.ciubotariu@microchip.com
Reviewed-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-02-10 11:59:09 +00:00
..
atmel_ssc_dai.c ASoC: atmel: atmel_ssc_dai: move .suspend/.resume to component 2020-01-21 17:03:15 +00:00
atmel_ssc_dai.h
atmel_wm8904.c
atmel-classd.c
atmel-classd.h
atmel-i2s.c
atmel-pcm-dma.c
atmel-pcm-pdc.c
atmel-pcm.h
atmel-pdmic.c
atmel-pdmic.h
Kconfig ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-10 11:59:09 +00:00
Makefile ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-10 11:59:09 +00:00
mchp-i2s-mcc.c
mikroe-proto.c
sam9g20_wm8731.c
sam9x5_wm8731.c
tse850-pcm5142.c