exynos-linux-stable/sound/soc/atmel
Chen Zhou f1f2d97f71 ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
[ Upstream commit 8fea78029f5e6ed734ae1957bef23cfda1af4354 ]

If CONFIG_SND_ATMEL_SOC_DMA=m, build error:

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

Function atmel_pcm_dma_platform_register is defined under
CONFIG SND_ATMEL_SOC_DMA, so select SND_ATMEL_SOC_DMA in
CONFIG SND_ATMEL_SOC_SSC, same to CONFIG_SND_ATMEL_SOC_PDC.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Chen Zhou <chenzhou10@huawei.com>
Link: https://lore.kernel.org/r/20200113133242.144550-1-chenzhou10@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-02-28 15:42:31 +01:00
..
atmel-classd.c ASoC: atmel-classd: fix audio clock rate 2017-04-08 09:30:33 +02:00
atmel-classd.h ASoC: atmel-classd: add the Audio Class D Amplifier 2015-10-23 01:48:33 +09:00
atmel-pcm-dma.c ASoC: dmaengine_pcm: Make FLAG_NO_RESIDUE internal 2015-04-27 19:26:07 +01:00
atmel-pcm-pdc.c ASoC: constify snd_pcm_ops structures 2016-09-12 20:04:09 +01:00
atmel-pcm.h ASoC: atmel-pcm-pdc: merge atmel-pcm back in 2015-04-01 21:24:27 +01:00
atmel-pdmic.c Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ak4104', 'asoc/topic/arizona', 'asoc/topic/atmel' and 'asoc/topic/codec-component' into asoc-next 2016-09-29 12:44:07 -07:00
atmel-pdmic.h ASoC: atmel-pdmic: add the Pulse Density Modulation Interface Controller 2015-12-18 07:02:37 +00:00
atmel_ssc_dai.c ASoC: atmel_ssc_dai: Don't unconditionally reset SSC on stream startup 2016-08-16 12:29:10 +01: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_wm8904: add snd_soc_pm_ops 2015-12-23 00:04:45 +00:00
Kconfig ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m 2020-02-28 15:42:31 +01:00
Makefile ASoC: atmel-pdmic: add the Pulse Density Modulation Interface Controller 2015-12-18 07:02:37 +00: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