From: Lior Amsalem Date: Wed, 27 Aug 2014 13:52:50 +0000 (-0300) Subject: dma: mv_xor: Simplify the DMA_MEMCPY operation X-Git-Tag: fixes-against-v3.18-rc2~40^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e4f52e2da9f66ba9c19b9266fa9ffcaee2f3ecc;p=pandora-kernel.git dma: mv_xor: Simplify the DMA_MEMCPY operation A memory copy operation can be expressed as an XOR operation with one source. This commit removes code duplication in the driver by reusing the XOR operation for the MEMCPY. As an added benefit, we can now put MEMCPY and XOR descriptors on the same chain, which improves performance. Signed-off-by: Lior Amsalem Signed-off-by: Ezequiel Garcia Signed-off-by: Vinod Koul --- Reading git-diff-tree failed