diff options
author | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2015-06-11 05:06:08 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-06-12 06:34:13 -0400 |
commit | 9cf08a6561dda1385d58357abd17d32f2d95ed3e (patch) | |
tree | 9e8bec006482d1beaffda22793410f2df60698b8 | |
parent | 0ef9dc139db2fca304ce4eadb5b8fb40d3dedb5e (diff) |
ASoC: atmel: Revert previous fix for Kconfig limations
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>
-rw-r--r-- | sound/soc/atmel/Kconfig | 4 | ||||
-rw-r--r-- | sound/soc/atmel/Makefile | 8 |
2 files changed, 7 insertions, 5 deletions
diff --git a/sound/soc/atmel/Kconfig b/sound/soc/atmel/Kconfig index c3152072d682..93abe4e6d596 100644 --- a/sound/soc/atmel/Kconfig +++ b/sound/soc/atmel/Kconfig | |||
@@ -9,10 +9,10 @@ config SND_ATMEL_SOC | |||
9 | if SND_ATMEL_SOC | 9 | if SND_ATMEL_SOC |
10 | 10 | ||
11 | config SND_ATMEL_SOC_PDC | 11 | config SND_ATMEL_SOC_PDC |
12 | bool | 12 | tristate |
13 | 13 | ||
14 | config SND_ATMEL_SOC_DMA | 14 | config SND_ATMEL_SOC_DMA |
15 | bool | 15 | tristate |
16 | select SND_SOC_GENERIC_DMAENGINE_PCM | 16 | select SND_SOC_GENERIC_DMAENGINE_PCM |
17 | 17 | ||
18 | config SND_ATMEL_SOC_SSC | 18 | config SND_ATMEL_SOC_SSC |
diff --git a/sound/soc/atmel/Makefile b/sound/soc/atmel/Makefile index 4fa7ac91f972..b327e5cc8de3 100644 --- a/sound/soc/atmel/Makefile +++ b/sound/soc/atmel/Makefile | |||
@@ -1,8 +1,10 @@ | |||
1 | # AT91 Platform Support | 1 | # AT91 Platform Support |
2 | snd-soc-atmel-pcm-$(CONFIG_SND_ATMEL_SOC_PDC) := atmel-pcm-pdc.o | 2 | snd-soc-atmel-pcm-pdc-objs := atmel-pcm-pdc.o |
3 | snd-soc-atmel-pcm-$(CONFIG_SND_ATMEL_SOC_DMA) += atmel-pcm-dma.o | 3 | snd-soc-atmel-pcm-dma-objs := atmel-pcm-dma.o |
4 | snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o $(snd-soc-atmel-pcm-y) | 4 | snd-soc-atmel_ssc_dai-objs := atmel_ssc_dai.o |
5 | 5 | ||
6 | obj-$(CONFIG_SND_ATMEL_SOC_PDC) += snd-soc-atmel-pcm-pdc.o | ||
7 | obj-$(CONFIG_SND_ATMEL_SOC_DMA) += snd-soc-atmel-pcm-dma.o | ||
6 | obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o | 8 | obj-$(CONFIG_SND_ATMEL_SOC_SSC) += snd-soc-atmel_ssc_dai.o |
7 | 9 | ||
8 | # AT91 Machine Support | 10 | # AT91 Machine Support |