libubox: fix a jshn array sequence counter bug, fixes some network.sh issues
[openwrt/openwrt.git] / target / linux / generic / patches-3.6 / 066-snd-soc-dmaengine-pcm.patch
1 From 961a7aeafab477f63d9eef26afde9cbb8badcd0f Mon Sep 17 00:00:00 2001
2 From: Peter Ujfalusi <peter.ujfalusi@ti.com>
3 Date: Mon, 1 Oct 2012 12:29:26 +0300
4 Subject: [PATCH] ASoC: dmaengine: Correct Makefile when sound is built as
5 module
6
7 soc-dmaengine-pcm library need to be part of the snd-soc-core in order to
8 be able to compile ASoC as modules when dmaengine is enabled on the platform.
9
10 Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
11 Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
12 ---
13 sound/soc/Makefile | 5 +++--
14 1 file changed, 3 insertions(+), 2 deletions(-)
15
16 --- a/sound/soc/Makefile
17 +++ b/sound/soc/Makefile
18 @@ -1,8 +1,9 @@
19 snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-cache.o soc-utils.o
20 snd-soc-core-objs += soc-pcm.o soc-io.o
21
22 -snd-soc-dmaengine-pcm-objs := soc-dmaengine-pcm.o
23 -obj-$(CONFIG_SND_SOC_DMAENGINE_PCM) += snd-soc-dmaengine-pcm.o
24 +ifneq ($(CONFIG_SND_SOC_DMAENGINE_PCM),)
25 +snd-soc-core-objs += soc-dmaengine-pcm.o
26 +endif
27
28 obj-$(CONFIG_SND_SOC) += snd-soc-core.o
29 obj-$(CONFIG_SND_SOC) += codecs/