dmaengine: at_hdmac: Add support for memory to memory sg transfers
authorTorsten Fleischer <torfl6749@gmail.com>
Mon, 23 Feb 2015 16:54:11 +0000 (17:54 +0100)
committerVinod Koul <vinod.koul@intel.com>
Fri, 13 Mar 2015 09:27:54 +0000 (14:57 +0530)
commit265567fbca7136f1cf45cb49a630cf7109a2308a
tree2ffd3fcb640107ad8f4f7ae010c55e8506a8935a
parent26f7af37eeaab359c3013c704f75749a2b5ce1b1
dmaengine: at_hdmac: Add support for memory to memory sg transfers

This patch adds support for memory to memory scatter-gather transfers.

Changes from V1:
   * Fixed coding style of the multi-line comments.

Changes from V2:
   * Added setup of 'desc->tx_width' that is needed to calculate the
     residue.

Signed-off-by: Torsten Fleischer <torfl6749@gmail.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c