]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: atmel: Revert previous fix for Kconfig limations
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Thu, 11 Jun 2015 09:06:08 +0000 (11:06 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jun 2015 10:34:13 +0000 (11:34 +0100)
After discussing with the Kconfig maintainer, we found a better fiw
allowing to keep each driver as modules.

This reverts commit 0ef9dc139db2fca304ce4eadb5b8fb40d3dedb5e.

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/atmel/Kconfig
sound/soc/atmel/Makefile

index c3152072d682d6550224b56b7a058a58d9cdd70e..93abe4e6d596e81b803a66dde4def57db633a76c 100644 (file)
@@ -9,10 +9,10 @@ config SND_ATMEL_SOC
 if SND_ATMEL_SOC
 
 config SND_ATMEL_SOC_PDC
-       bool
+       tristate
 
 config SND_ATMEL_SOC_DMA
-       bool
+       tristate
        select SND_SOC_GENERIC_DMAENGINE_PCM
 
 config SND_ATMEL_SOC_SSC
index 4fa7ac91f9720508f933af9e9ad6aec60113597a..b327e5cc8de352b84a8bffc5260e4d6e6ea5f2df 100644 (file)
@@ -1,8 +1,10 @@
 # AT91 Platform Support
-snd-soc-atmel-pcm-$(CONFIG_SND_ATMEL_SOC_PDC) := atmel-pcm-pdc.o
-snd-soc-atmel-pcm-$(CONFIG_SND_ATMEL_SOC_DMA) += atmel-pcm-dma.o
-snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o $(snd-soc-atmel-pcm-y)
+snd-soc-atmel-pcm-pdc-objs := atmel-pcm-pdc.o
+snd-soc-atmel-pcm-dma-objs := atmel-pcm-dma.o
+snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o
 
+obj-$(CONFIG_SND_ATMEL_SOC_PDC) += snd-soc-atmel-pcm-pdc.o
+obj-$(CONFIG_SND_ATMEL_SOC_DMA) += snd-soc-atmel-pcm-dma.o
 obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o
 
 # AT91 Machine Support