dmaengine: k3dma: dont use direction for memcpy
authorVinod Koul <vkoul@kernel.org>
Fri, 5 Oct 2018 01:02:12 +0000 (06:32 +0530)
committerVinod Koul <vkoul@kernel.org>
Sun, 7 Oct 2018 13:55:10 +0000 (19:25 +0530)
commitad7756e7775e1af42ec0032ea0bea968b8f343a7
tree0c0f3bdbb64009d70c3ab2324d08c91ea3e0a00d
parentdea7a9fbb009ba0629c44fcf105f2d8b0ff74e9f
dmaengine: k3dma: dont use direction for memcpy

Memcpy has no direction (copy from memory to memory) so remove the check
in prep_memcpy()

Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/k3dma.c