dma: mmp_pdma: fix maximum transfer length
authorDaniel Mack <zonque@gmail.com>
Sat, 10 Aug 2013 16:52:17 +0000 (18:52 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Aug 2013 08:25:15 +0000 (13:55 +0530)
commit1ac0e845c10685f3643fe81a08c13be4b9416bce
treee919e05b799011a2027faa84a908b7c62f5ec97a
parent638a542cc450e5dca52c82437d746548c0bcbd8b
dma: mmp_pdma: fix maximum transfer length

There's no reason for limiting the maximum transfer length to 0x1000.
Take the actual bit mask instead; the PDMA is able to transfer chunks of
up to SZ_8K - 1.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/mmp_pdma.c