diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-06-05 12:40:04 +0200 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-17 15:53:43 +0100 |
commit | 5ba4059c385544001031ecff1335e10b3365112c (patch) | |
tree | 0654b58efcbf9c1fcc1010f45e28cb26465d96f5 /sound | |
parent | 38784764bbcdfedd7c9b220d6d593d281e52c059 (diff) | |
download | linux-5ba4059c385544001031ecff1335e10b3365112c.tar.gz linux-5ba4059c385544001031ecff1335e10b3365112c.tar.bz2 linux-5ba4059c385544001031ecff1335e10b3365112c.zip |
ASoC: MMP audio needs sram support
Building the pxa/mmp audio driver without support for the mmp
sram driver enabled results in this link error:
sound/built-in.o: In function `mmp_pcm_free_dma_buffers':
:(.text+0x3e734): undefined reference to `sram_get_gpool'
sound/built-in.o: In function `mmp_pcm_new':
:(.text+0x3e7c0): undefined reference to `sram_get_gpool'
The sram driver is cannot be manually enabled and needs to
be turned on by selecting MMP_SRAM from each module that
needs it, which is what this patch does.
Ideally, MMP should move over to the generic SRAM support, but
for the moment, we can avoid the build error.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/pxa/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/Kconfig b/sound/soc/pxa/Kconfig index ea6372b15dd5..a3a7385c969d 100644 --- a/sound/soc/pxa/Kconfig +++ b/sound/soc/pxa/Kconfig @@ -11,6 +11,7 @@ config SND_PXA2XX_SOC config SND_MMP_SOC bool "Soc Audio for Marvell MMP chips" depends on ARCH_MMP + select MMP_SRAM select SND_SOC_GENERIC_DMAENGINE_PCM select SND_ARM help |