]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: imx: Add the secondary request into the structure for imx-sdma
authorNicolin Chen <nicoleotsuka@gmail.com>
Tue, 29 Jul 2014 10:08:52 +0000 (18:08 +0800)
committerNitin Garg <nitin.garg@freescale.com>
Fri, 16 Jan 2015 03:16:59 +0000 (21:16 -0600)
commita1325dcccca42d3e7b421a807f4ccb456a836cb7
treeb66ce122694a95b94f2c5ca85b257bd4d588f04b
parent94d3c530cc2d6e0320fb2f6da1c326bdadd47a40
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>
(cherry picked from commit 94b912e42829b25d97b6b1f2be66c6aa81ac125f)
include/linux/platform_data/dma-imx.h