linux_dsm_epyc7002/sound/soc/atmel
Alexandre Belloni 0ef9dc139d ASoC: atmel: compile pcm driver in snd-soc-atmel_ssc_dai
It is currently possible to have CONFIG_SND_ATMEL_SOC_SSC=y with either
CONFIG_SND_ATMEL_SOC_PDC=m or CONFIG_SND_ATMEL_SOC_DMA=m. This results in a
driver that compiles but does not link with this kind of error:

sound/built-in.o: In function `atmel_ssc_set_audio':
(.text+0x87d90): undefined reference to `atmel_pcm_pdc_platform_register'
sound/built-in.o: In function `atmel_ssc_put_audio':
(.text+0x8879a): undefined reference to `atmel_pcm_pdc_platform_unregister'

Solve that by compiling the selected PCM driver (PDC, DMA or both) in the
Atmel SSC DAI driver.

Reported-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2015-05-26 11:33:31 +01:00
..
atmel_ssc_dai.c Merge remote-tracking branches 'asoc/topic/atmel', 'asoc/topic/davinci', 'asoc/topic/gpiod' and 'asoc/topic/intel' into asoc-next 2015-03-05 01:07:21 +00:00
atmel_ssc_dai.h ASoC: atmel_ssc_dai: Allow more rates 2015-02-10 15:12:41 +08:00
atmel_wm8904.c ASoC: atmel: drop owner assignment from platform_drivers 2014-10-20 16:22:03 +02:00
atmel-pcm-dma.c ASoC: atmel-pcm-dma: increase buffer_bytes_max 2015-04-02 10:01:13 +01:00
atmel-pcm-pdc.c ASoC: atmel-pcm-pdc: merge atmel-pcm back in 2015-04-01 21:24:27 +01:00
atmel-pcm.h ASoC: atmel-pcm-pdc: merge atmel-pcm back in 2015-04-01 21:24:27 +01:00
Kconfig ASoC: atmel: compile pcm driver in snd-soc-atmel_ssc_dai 2015-05-26 11:33:31 +01:00
Makefile ASoC: atmel: compile pcm driver in snd-soc-atmel_ssc_dai 2015-05-26 11:33:31 +01:00
sam9g20_wm8731.c ASoC: at91sam9g20ek: Automatically disconnect non-connected pins 2015-04-27 15:39:23 +01:00
sam9x5_wm8731.c ASoC: atmel: drop owner assignment from platform_drivers 2014-10-20 16:22:03 +02:00