]> 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)
commitbc4990265a9e53d355f9b896fb23e77b9e2fab8a
treed84c51cfddbda2a638dc2d1dbef19f0671ff76b4
parent384fde7ed224f283f11ef2a592b05d4a29492aa8
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