summaryrefslogtreecommitdiff
path: root/sound/soc/fsl/imx-pcm.h
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-03-28 15:34:56 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-04-01 11:28:29 +0100
commitb46b373f4084cc02d4d41a5a42199fe8462c2f13 (patch)
tree8f621f753dad4454bec0766b07ebe94d51d2ac18 /sound/soc/fsl/imx-pcm.h
parentff9062c60e4b8e01980b1a81dcabe3965f71df77 (diff)
ASoC: fsl: assign dma peripheral type according to bus topology
The dma peripheral_type for SSI should be IMX_DMATYPE_SSI_SP if the SSI is on SPBA bus. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r--sound/soc/fsl/imx-pcm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h
index b5f5c3acf34d..83c0ed7d55c9 100644
--- a/sound/soc/fsl/imx-pcm.h
+++ b/sound/soc/fsl/imx-pcm.h
@@ -22,6 +22,7 @@ struct imx_pcm_dma_params {
int dma;
unsigned long dma_addr;
int burstsize;
+ bool shared_peripheral; /* The peripheral is on SPBA bus */
};
int snd_imx_pcm_mmap(struct snd_pcm_substream *substream,