aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/imx-pcm.h
diff options
context:
space:
mode:
authorShengjiu Wang <b02247@freescale.com>2013-08-09 02:41:11 -0400
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:01:12 -0400
commit61cadfef966e6fc6e416c2f097891bd6ff61eddb (patch)
tree754031550a5784e63117eed58895c3d8c1f2f420 /sound/soc/fsl/imx-pcm.h
parente6ced15860c52eab111b8b4c7e9a9f8e60f87d1f (diff)
ENGR00274585-1 dma: imx-sdma: update sdma to support p2p
For the sake of support asrc p2p, the sdma driver need to be updated. 1. Add another dma_request, p2p need two dma_request. 2. There are some cases which need to change the config after the dma_request_channel. add dma_request config in dmaengine_slave_config(). 3. add dma_request0 and dma_request1 in dma_slave_config for runtime config in dmaengine_slave_config. Signed-off-by: Shengjiu Wang <b02247@freescale.com>
Diffstat (limited to 'sound/soc/fsl/imx-pcm.h')
-rw-r--r--sound/soc/fsl/imx-pcm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/imx-pcm.h b/sound/soc/fsl/imx-pcm.h
index 20b46f285d45..233717059de9 100644
--- a/sound/soc/fsl/imx-pcm.h
+++ b/sound/soc/fsl/imx-pcm.h
@@ -24,7 +24,7 @@ static inline void
24imx_pcm_dma_params_init_data(struct imx_dma_data *dma_data, 24imx_pcm_dma_params_init_data(struct imx_dma_data *dma_data,
25 int dma, bool shared) 25 int dma, bool shared)
26{ 26{
27 dma_data->dma_request = dma; 27 dma_data->dma_request0 = dma;
28 dma_data->priority = DMA_PRIO_HIGH; 28 dma_data->priority = DMA_PRIO_HIGH;
29 if (shared) 29 if (shared)
30 dma_data->peripheral_type = IMX_DMATYPE_SSI_SP; 30 dma_data->peripheral_type = IMX_DMATYPE_SSI_SP;