summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel/Kconfig
diff options
context:
space:
mode:
authorChen Zhou <chenzhou10@huawei.com>2020-01-13 21:32:42 +0800
committerMark Brown <broonie@kernel.org>2020-01-13 16:09:57 +0000
commit8fea78029f5e6ed734ae1957bef23cfda1af4354 (patch)
treea10b974169557d3eb009db6418c7a295233310c9 /sound/soc/atmel/Kconfig
parent5732c0fc53eb45565c485a886d027c0b1f86d4c5 (diff)
downloadlinux-8fea78029f5e6ed734ae1957bef23cfda1af4354.tar.bz2
ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
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>
Diffstat (limited to 'sound/soc/atmel/Kconfig')
-rw-r--r--sound/soc/atmel/Kconfig2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig
index f118c229ed82..d1dc8e6366dc 100644
--- a/sound/soc/atmel/Kconfig
+++ b/sound/soc/atmel/Kconfig
@@ -19,6 +19,8 @@ config SND_ATMEL_SOC_DMA
config SND_ATMEL_SOC_SSC
tristate
+ select SND_ATMEL_SOC_DMA
+ select SND_ATMEL_SOC_PDC
config SND_ATMEL_SOC_SSC_PDC
tristate "SoC PCM DAI support for AT91 SSC controller using PDC"