dma: mmp_pdma: add support for byte-aligned transfers
authorDaniel Mack <zonque@gmail.com>
Sat, 10 Aug 2013 16:52:22 +0000 (18:52 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 14 Aug 2013 08:25:16 +0000 (13:55 +0530)
commit6fc4573c4e17eb57f6e1a20992dcf0b6a105afdb
tree4a3e10a868da8fdff40bd68a42e0aa8346e42905
parent8fd6aac3a8234d4ffd0ea514ba2aba9488888a36
dma: mmp_pdma: add support for byte-aligned transfers

The PXA DMA controller has a DALGN register which allows for
byte-aligned DMA transfers. Use it in case any of the transfer
descriptors is not aligned to a mask of ~0x7.

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