linux/sound/soc/atmel
Arnd Bergmann 59c723344a ASoC: atmel: fix atmel_ssc_set_audio link failure
commit 9437bfda00 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-02-28 17:22:26 +01:00
..
Kconfig ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-28 17:22:26 +01:00
Makefile ASoC: atmel: fix atmel_ssc_set_audio link failure 2020-02-28 17:22:26 +01:00
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
atmel_ssc_dai.c ASoC: atmel_ssc_dai: Remove wrong spinlock usage 2019-09-18 11:12:24 +01:00
atmel_ssc_dai.h ASoC: atmel_ssc_dai: Remove wrong spinlock usage 2019-09-18 11:12:24 +01:00
atmel_wm8904.c
mchp-i2s-mcc.c Merge branch 'asoc-5.4' into asoc-next 2019-09-09 14:55:20 +01:00
mikroe-proto.c
sam9g20_wm8731.c
sam9x5_wm8731.c
tse850-pcm5142.c