summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorNandor Han <nandor.han@ge.com>2016-08-08 15:38:26 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-08-31 16:27:28 +0200
commit5881826ded79cf3c3314ee2d84c3bfa94e111b42 (patch)
treedbefd9fb0d60e0f531c2343e4d130326bd360112 /security
parent15f30f513111528c5b0c6185b2bfb7b1a58a6499 (diff)
dmaengine: imx-sdma - update the residue calculation for cyclic channels
The calculation of the DMA transaction residue supports only fixed size data transfers. This implementation is not covering all operations (e.g. data receiving) when we need to know the exact amount of bytes transferred. The loop channels handling was changed to clear the buffer descriptor errors and use the bd->mode.count to calculate the residue. Tested-by: Peter Senna Tschudin <peter.senna@collabora.com> Acked-by: Peter Senna Tschudin <peter.senna@collabora.com> Reviewed-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Nandor Han <nandor.han@ge.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions