]> 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)
commit3e295f05de1c89d935f25ccc6cbab48ec01a4071
tree0c0f3bdbb64009d70c3ab2324d08c91ea3e0a00d
parent47b419a11958eb512acce8b7bc689b2b5872ed40
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