aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/sh/intc
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2016-07-25 10:34:08 -0700
committerVinod Koul <vinod.koul@intel.com>2016-08-08 08:11:43 +0530
commit8058e25809f53cadc0438ebb8f920415a0d2ec17 (patch)
treed4a90a12d29b88b18d5a9b9db073ca442a86876c /drivers/sh/intc
parenta941106de4434c0173a2c6d5abedb2d1cfc11206 (diff)
downloadkernel_replicant_linux-8058e25809f53cadc0438ebb8f920415a0d2ec17.tar.gz
kernel_replicant_linux-8058e25809f53cadc0438ebb8f920415a0d2ec17.tar.bz2
kernel_replicant_linux-8058e25809f53cadc0438ebb8f920415a0d2ec17.zip
dmaengine: mv_xor: move unmap to before callback
Completion callback should happen after dma_descriptor_unmap() has happened. This allow the cache invalidate to happen and ensure that the data accessed by the upper layer is in memory that was from DMA rather than stale data. On some architecture this is done by the hardware, however we should make the code consistent to not cause confusion. Signed-off-by: Dave Jiang <dave.jiang@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/sh/intc')
0 files changed, 0 insertions, 0 deletions