dmaengine: sun6i: Set default maxburst size and bus width
authorJean-Francois Moine <moinejf@free.fr>
Thu, 28 Apr 2016 15:07:02 +0000 (17:07 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 May 2016 10:29:01 +0000 (15:59 +0530)
commita4eb36b02c596b9b91b22c6ef83f92397feb9250
tree8b5db96e9f1641b9e1c967ada65c8eeb90d42758
parent52c871798ff84b6bfb095c3d3cc69af517f72396
dmaengine: sun6i: Set default maxburst size and bus width

Some DMA clients, as audio, don't set the maxburst size and bus width
on the memory side when starting DMA transfers.
This patch prevents such transfers to be aborted by providing system
default values to the lacking ones.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/sun6i-dma.c