dmaengine: sun6i: Correct burst length field offsets for H3
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Thu, 28 Sep 2017 01:49:19 +0000 (03:49 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Oct 2017 07:01:24 +0000 (12:31 +0530)
commit5a6a6202fa9ab63bce1726663ff5573741bfeab3
tree99c41acf42666ebbf35594bd5d62f4548341c553
parent50b12497547b5bff49bf90d54c2ca6a77c0bbe02
dmaengine: sun6i: Correct burst length field offsets for H3

For the H3, the burst lengths field offsets in the channel configuration
register differs from earlier SoC generations.

Using the A31 register macros actually configured the H3 controller
do to bursts of length 1 always, which although working leads to higher
bus utilisation.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c