]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc9777fd52f056315bbce1461f7ca7fd70b1ca024
tree0c0f3bdbb64009d70c3ab2324d08c91ea3e0a00d
parent90692e82bf402f054078aa510b7a84e31da92ff7
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