commit | c35064c4b6f4e03a4f40cc88e3257525a7b31a68 | [log] [tgz] |
---|---|---|
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Thu Nov 15 13:01:59 2012 +0100 |
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | Tue Nov 20 15:58:58 2012 +0100 |
tree | 3121632b277602bcadbd74aee609af4add9e62f7 | |
parent | 01a9508de746bc2ae37dc63b407f2d7cdcb00386 [diff] |
dma: mv_xor: simplify dma_sync_single_for_cpu() calls In mv_xor_memcpy_self_test() and mv_xor_xor_self_test(), all DMA functions are called by passing dma_chan->device->dev as the 'device *', except the calls to dma_sync_single_for_cpu() which uselessly goes through mv_chan->device->pdev->dev. Simplify this by using dma_chan->device->dev direclty in dma_sync_single_for_cpu() calls. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>