dmaengine: zynqmp_dma: Remove max len check in zynqmp_dma_prep_memcpy
authorStefan Roese <sr@denx.de>
Fri, 23 Jun 2017 09:05:49 +0000 (11:05 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 3 Jul 2017 05:06:46 +0000 (10:36 +0530)
commit82474dade7f4c60206609e7274591d159db105bf
tree773c921ebb87ae1266c082c4e82a352bcc04630c
parent65a5c3dd3e11225a0d0e0df97d23fa64ab2d4ed2
dmaengine: zynqmp_dma: Remove max len check in zynqmp_dma_prep_memcpy

Remove check for "len > ZYNQMP_DMA_MAX_TRANS_LEN" as its not needed.
If the length is larger, the transfer is split up into multiple parts
with the max descriptor length already.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Kedareswara rao Appana <appanad@xilinx.com>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/xilinx/zynqmp_dma.c