]> git.karo-electronics.de Git - linux-beck.git/commit
dmaengine: ste_dma40: set dma max seg size
authorPer Forlin <per.forlin@stericsson.com>
Tue, 18 Oct 2011 16:39:47 +0000 (18:39 +0200)
committerFabio Baltieri <fabio.baltieri@linaro.org>
Mon, 14 Jan 2013 09:50:18 +0000 (10:50 +0100)
commitb96710e5b22609aa6e4ba5c3936ea7f026a7c427
treec738ab582345c0b88c2bbc5310d0e799c3a082b2
parent8a5d2039ab9050a8a2e649eaf3ca4e372a7709f1
dmaengine: ste_dma40: set dma max seg size

Maximum DMA seg size is (0xffff x data_width).  If max seg
size is not set it deafults to 64k.  This results in failure
if transferring 64k in byte mode.
Large seg sizes may be supported by splitting large transfer.

Signed-off-by: Per Forlin <per.forlin@stericsson.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Fabio Baltieri <fabio.baltieri@linaro.org>
drivers/dma/ste_dma40.c