diff options
author | Nicolin Chen <nicoleotsuka@gmail.com> | 2014-07-29 14:08:52 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-29 22:22:49 +0400 |
commit | 94b912e42829b25d97b6b1f2be66c6aa81ac125f (patch) | |
tree | 4415e3432d9a7e6bb34fe51fa0dab656981d71c6 /include/linux/platform_data/dma-imx.h | |
parent | 7171511eaec5bf23fb06078f59784a3a0626b38f (diff) | |
download | linux-94b912e42829b25d97b6b1f2be66c6aa81ac125f.tar.xz |
ARM: imx: Add the secondary request into the structure for imx-sdma
SDMA supports device to device (per_2_per) scripts to handle DMA transfering
between two peripheral devices. The per_2_per script, however, needs two dma
requests from two sides while the current structure only defined one request.
So this patch just simply adds the secondary request so as to let SDMA and
its user to add its implementation later.
[ Both change in the SDMA driver and its users like Freescale ASRC ASoC driver
should be taken along with this change in order to truly support per_2_per
sciprts. However, we here make an expediency by adding this first so that
we can add either side later since this patch won't break any function and
meanwhile it can make merge window more smoothly: we don't need to apply the
change inside dmaengine branch via ASoC tree any more. -- Nicolin ]
Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'include/linux/platform_data/dma-imx.h')
-rw-r--r-- | include/linux/platform_data/dma-imx.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/platform_data/dma-imx.h b/include/linux/platform_data/dma-imx.h index bcbc6c3c14c0..d05542aafa3e 100644 --- a/include/linux/platform_data/dma-imx.h +++ b/include/linux/platform_data/dma-imx.h @@ -50,6 +50,7 @@ enum imx_dma_prio { struct imx_dma_data { int dma_request; /* DMA request line */ + int dma_request2; /* secondary DMA request line */ enum sdma_peripheral_type peripheral_type; int priority; }; |