]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f9699551fa7dd3841db6eb82659f6dfd2dcdaac
tree7f8d34539615b1ab00bdef3413171eab4c59c5e0
parentf3df105927f029bc62ca2e16638387189ed9f697
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