]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: axi-dmac: Only use hardware cyclic mode for single segment transfers
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 5 Sep 2017 08:16:37 +0000 (10:16 +0200)
committerVinod Koul <vinod.koul@intel.com>
Sun, 17 Sep 2017 13:28:18 +0000 (18:58 +0530)
commitfe3a94118f757d5d8a785da67e08292490738c03
treed84c51cfddbda2a638dc2d1dbef19f0671ff76b4
parent2018862bdad13479b663e0e9615d7c6fcaa89285
dmaengine: axi-dmac: Only use hardware cyclic mode for single segment transfers

In hardware cyclic mode the submitted segment is repeated. This means
hardware cyclic mode can only be used if the transfer has a single segment.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dma-axi-dmac.c