dmaengine: at_xdmac: change block increment addressing mode
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 15 Sep 2015 13:36:00 +0000 (15:36 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 1 Oct 2015 01:59:40 +0000 (07:29 +0530)
commita1cf09031e641d3cceaca4a4dd20ef6a785bc9b3
treee62a9e42a2db4de85ce78ea624cbaeb6f9e3d3a3
parent6bea0f6d1c47b07be88dfd93f013ae05fcb3d8bf
dmaengine: at_xdmac: change block increment addressing mode

The addressing mode we were using was not only incrementing the address at
each microblock, but also at each data boundary, which was severely slowing
the transfer, without any benefit since we were not using the data stride.

Switch to the micro block increment only in order to get back to an
acceptable performance level.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Fixes: 6007ccb57744 ("dmaengine: xdmac: Add interleaved transfer support")
Cc: stable@vger.kernel.org #4.2
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_xdmac.c