Skip to content

Commit 76fccd3

Browse files
Chen Zhougregkh
authored andcommitted
ASoC: atmel: fix build error with CONFIG_SND_ATMEL_SOC_DMA=m
[ Upstream commit 8fea780 ] 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>
1 parent 148e293 commit 76fccd3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎sound/soc/atmel/Kconfig‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ config SND_ATMEL_SOC_DMA
1919

2020
config SND_ATMEL_SOC_SSC
2121
tristate
22+
select SND_ATMEL_SOC_DMA
23+
select SND_ATMEL_SOC_PDC
2224

2325
config SND_ATMEL_SOC_SSC_PDC
2426
tristate "SoC PCM DAI support for AT91 SSC controller using PDC"

0 commit comments

Comments
 (0)