]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: pl330: do not emit loop for 1 byte transfer.
authorMichal Suchanek <hramrach@gmail.com>
Thu, 23 Jul 2015 16:04:49 +0000 (18:04 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 19 Aug 2015 16:41:46 +0000 (22:11 +0530)
commit31495d60a06524f37a9ea66d7d62ce0418ef3506
tree2098e539c03e0261d8e210e2dc3496cdbe4b99f7
parent2f27b81c0e5670fbdd902ca8f85617153d69b8cb
dmaengine: pl330: do not emit loop for 1 byte transfer.

When there is only one burst required do not emit loop instructions to
loop exactly once. Emit just the body of the loop.

Signed-off-by: Michal Suchanek <hramrach@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c