• N
    ARM: imx: Add the secondary request into the structure for imx-sdma · 94b912e4
    Nicolin Chen 提交于
    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: NNicolin Chen <nicoleotsuka@gmail.com>
    Acked-by: NShawn Guo <shawn.guo@linaro.org>
    Signed-off-by: NMark Brown <broonie@linaro.org>
    94b912e4
dma-imx.h 1.9 KB