linux-hardened/sound/soc/pxa
Arnd Bergmann 5ab0862e5d ASoC: MMP audio needs sram support
From e7a94bb7fb871c73cc85712d89c1f48d0271c1be Mon Sep 17 00:00:00 2001
From: Arnd Bergmann <arnd@arndb.de>
Date: Thu, 5 Jun 2014 12:31:28 +0200
Subject: [PATCH] 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>
Cc: Eric Miao <eric.y.miao@gmail.com>
Cc: Haojian Zhuang <haojian.zhuang@gmail.com>
Cc: Qiao Zhou <zhouqiao@marvell.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-06-05 12:35:13 +01:00
..
brownstone.c ALSA: ASoC: pxa: add asoc pm callbacks to pxa audio drivers 2013-10-18 00:35:00 +01:00
corgi.c Merge branch 'topic/dapm' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-pxa 2014-03-13 09:40:56 +00:00
e740_wm9705.c ASoC: pxa: e740_wm9705: Convert to table based DAPM setup 2014-03-03 11:01:48 +09:00
e750_wm9705.c ASoC: pxa: e750_wm9705: Convert to table based DAPM setup 2014-03-03 11:01:48 +09:00
e800_wm9712.c ASoC: pxa: e800_wm9712: Convert to table based DAPM setup 2014-03-03 11:01:48 +09:00
em-x270.c ASoC: pxa: Add .owner to struct snd_soc_card 2011-12-22 11:04:18 +00:00
hx4700.c ASoC: pxa/hx4700: remove __dev* attributes 2012-12-10 00:29:59 +09:00
imote2.c ALSA: ASoC: pxa: add asoc pm callbacks to pxa audio drivers 2013-10-18 00:35:00 +01:00
Kconfig ASoC: MMP audio needs sram support 2014-06-05 12:35:13 +01:00
magician.c ASoC: pxa: magician: Convert to table based DAPM and control setup 2014-03-13 09:41:00 +00:00
Makefile ASoC: remove saarb and tavorevb3 machine drivers 2013-05-15 08:59:29 +04:00
mioa701_wm9713.c ASoC: pxa: mioa701_wm9713: Convert to table based DAPM setup 2014-03-03 11:01:48 +09:00
mmp-pcm.c ASoC: mmp: Don't set unused struct snd_pcm_hardware fields 2013-12-30 13:58:53 +00:00
mmp-sspa.c ASoC: mmp-sspa: Use devm_snd_soc_register_component 2013-09-19 14:57:38 +01:00
mmp-sspa.h ASoC: mmp: add sspa support 2012-06-13 13:13:39 +01:00
palm27x.c ALSA: ASoC: pxa: add asoc pm callbacks to pxa audio drivers 2013-10-18 00:35:00 +01:00
poodle.c ASoC: pxa: Pass correct DAPM context to {corgi,poodle,spitz}_ext_control 2014-03-03 11:01:48 +09:00
pxa-ssp.c ASoC: pxa: pxa-ssp: Terminate of match table 2014-05-26 14:38:50 +01:00
pxa-ssp.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-ac97.c ALSA: ASoC: pxa: fix pxa2xx-ac97 DAI initialization order 2013-10-18 00:35:00 +01:00
pxa2xx-ac97.h ASoC: pxa2xx: fixup multi-platform AC'97 build failures 2013-06-29 13:24:29 +01:00
pxa2xx-i2s.c ASoC: pxa: Use WARN_ON() instead of BUG_ON() 2013-11-07 19:55:15 +00:00
pxa2xx-i2s.h ASoC: multi-component - ASoC Multi-Component Support 2010-08-12 14:00:00 +01:00
pxa2xx-pcm.c DMA-API: sound: fix dma mask handling in a lot of drivers 2013-10-31 14:48:47 +00:00
raumfeld.c ASoC: Remove unnecessary -codec from cs4270 driver name 2012-02-28 12:35:20 +00:00
spitz.c Merge branch 'topic/dapm' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into asoc-pxa 2014-03-13 09:40:56 +00:00
tosa.c ASoC: pxa: tosa: Convert to table based DAPM and control setup 2014-03-13 09:41:00 +00:00
ttc-dkb.c ALSA: ASoC: pxa: add asoc pm callbacks to pxa audio drivers 2013-10-18 00:35:00 +01:00
z2.c ASoC: Convert z2 to table based DAPM init 2012-01-02 13:08:38 +00:00
zylonite.c ASoC: pxa: zylonite: Convert to table based DAPM setup 2014-03-03 11:01:52 +09:00