[media] dmaengine: ipu-idmac: add support for the DMA_PAUSE control
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 25 Aug 2011 16:26:53 +0000 (13:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 3 Nov 2011 20:28:33 +0000 (18:28 -0200)
commit1d3564d91f94d0b598304eb6ebe3b83a83176f7a
tree585a122d4ca32f02d65cb24267c5570842567e95
parent2d86401c2cbfce9f99b08ba168bdb60b2eb7796e
[media] dmaengine: ipu-idmac: add support for the DMA_PAUSE control

To support multi-size buffers in the mx3_camera V4L2 driver we have to be
able to stop DMA on a channel without releasing descriptors and completely
halting the hardware. Use the DMA_PAUSE control to implement this mode.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/dma/ipu/ipu_idmac.c