aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/fsl/Kconfig9
-rw-r--r--sound/soc/fsl/Makefile5
-rw-r--r--sound/soc/fsl/imx-pcm.c3
3 files changed, 11 insertions, 6 deletions
diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig
index a210c8d7b4bc..3b98159d9645 100644
--- a/sound/soc/fsl/Kconfig
+++ b/sound/soc/fsl/Kconfig
@@ -108,13 +108,18 @@ if SND_IMX_SOC
108config SND_SOC_IMX_SSI 108config SND_SOC_IMX_SSI
109 tristate 109 tristate
110 110
111config SND_SOC_IMX_PCM_FIQ 111config SND_SOC_IMX_PCM
112 tristate 112 tristate
113
114config SND_SOC_IMX_PCM_FIQ
115 bool
113 select FIQ 116 select FIQ
117 select SND_SOC_IMX_PCM
114 118
115config SND_SOC_IMX_PCM_DMA 119config SND_SOC_IMX_PCM_DMA
116 tristate 120 bool
117 select SND_SOC_DMAENGINE_PCM 121 select SND_SOC_DMAENGINE_PCM
122 select SND_SOC_IMX_PCM
118 123
119config SND_SOC_IMX_AUDMUX 124config SND_SOC_IMX_AUDMUX
120 tristate 125 tristate
diff --git a/sound/soc/fsl/Makefile b/sound/soc/fsl/Makefile
index ec1457915d7c..afd34794db53 100644
--- a/sound/soc/fsl/Makefile
+++ b/sound/soc/fsl/Makefile
@@ -41,10 +41,7 @@ endif
41obj-$(CONFIG_SND_SOC_IMX_SSI) += snd-soc-imx-ssi.o 41obj-$(CONFIG_SND_SOC_IMX_SSI) += snd-soc-imx-ssi.o
42obj-$(CONFIG_SND_SOC_IMX_AUDMUX) += snd-soc-imx-audmux.o 42obj-$(CONFIG_SND_SOC_IMX_AUDMUX) += snd-soc-imx-audmux.o
43 43
44obj-$(CONFIG_SND_SOC_IMX_PCM_FIQ) += snd-soc-imx-pcm-fiq.o 44obj-$(CONFIG_SND_SOC_IMX_PCM) += snd-soc-imx-pcm.o
45snd-soc-imx-pcm-fiq-y := imx-pcm-fiq.o imx-pcm.o
46obj-$(CONFIG_SND_SOC_IMX_PCM_DMA) += snd-soc-imx-pcm-dma.o
47snd-soc-imx-pcm-dma-y := imx-pcm-dma.o imx-pcm.o
48 45
49# i.MX Machine Support 46# i.MX Machine Support
50snd-soc-eukrea-tlv320-objs := eukrea-tlv320.o 47snd-soc-eukrea-tlv320-objs := eukrea-tlv320.o
diff --git a/sound/soc/fsl/imx-pcm.c b/sound/soc/fsl/imx-pcm.c
index 0c9f188ddc68..d5cd9eff3b48 100644
--- a/sound/soc/fsl/imx-pcm.c
+++ b/sound/soc/fsl/imx-pcm.c
@@ -31,6 +31,7 @@ int snd_imx_pcm_mmap(struct snd_pcm_substream *substream,
31 runtime->dma_bytes); 31 runtime->dma_bytes);
32 return ret; 32 return ret;
33} 33}
34EXPORT_SYMBOL_GPL(snd_imx_pcm_mmap);
34 35
35static int imx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream) 36static int imx_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream)
36{ 37{
@@ -79,6 +80,7 @@ int imx_pcm_new(struct snd_soc_pcm_runtime *rtd)
79out: 80out:
80 return ret; 81 return ret;
81} 82}
83EXPORT_SYMBOL_GPL(imx_pcm_new);
82 84
83void imx_pcm_free(struct snd_pcm *pcm) 85void imx_pcm_free(struct snd_pcm *pcm)
84{ 86{
@@ -100,6 +102,7 @@ void imx_pcm_free(struct snd_pcm *pcm)
100 buf->area = NULL; 102 buf->area = NULL;
101 } 103 }
102} 104}
105EXPORT_SYMBOL_GPL(imx_pcm_free);
103 106
104MODULE_DESCRIPTION("Freescale i.MX PCM driver"); 107MODULE_DESCRIPTION("Freescale i.MX PCM driver");
105MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>"); 108MODULE_AUTHOR("Sascha Hauer <s.hauer@pengutronix.de>");