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)
commit63ab76dbbdb8657e24645b7311ec3911a41039b5
treed84c51cfddbda2a638dc2d1dbef19f0671ff76b4
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
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