dmaengine: PL08x: Add support for different maximum transfer size
authorTomasz Figa <tomasz.figa@gmail.com>
Sun, 11 Aug 2013 17:59:18 +0000 (19:59 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 2 Sep 2013 06:19:56 +0000 (11:49 +0530)
commit5110e51d127221c93f331841e601612b187b60f4
tree7f8d34539615b1ab00bdef3413171eab4c59c5e0
parentda1b6c05b8b5bd9af060acb319360604a0890c2e
dmaengine: PL08x: Add support for different maximum transfer size

PL080S has separate register to store transfer size in, allowing single
transfer to be much larger than in standard PL080.

This patch makes the amba-pl08x driver aware of this and removes writing
transfer size to reserved bits of CH_CONTROL register on PL080S, which
was not a problem witn transfer sizes fitting the original bitfield
of PL080, but now would overwrite other fields.

Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/amba-pl08x.c