]> git.karo-electronics.de Git - karo-tx-linux.git/commit
DMA: AT91: Get transfer width
authorElen Song <elen.song@atmel.com>
Fri, 10 May 2013 03:00:50 +0000 (11:00 +0800)
committerVinod Koul <vinod.koul@intel.com>
Tue, 14 May 2013 05:30:34 +0000 (11:00 +0530)
commit6ca16f899e50f3a5ab4e6438b72a04a1a1b8f4a9
tree08828f884a1f8e1c05b07add72a94457bbf8008a
parent66e28432767597f5a60b6b89e36151665a5248f4
DMA: AT91: Get transfer width

In one dma transfer, the data transfer width can be configured and it is limited by source or destination peripheral width,
tx_width will save the transfer width, but for memcpy, either source or destination transfer width is taken as tx_width.

Signed-off-by: Elen Song <elen.song@atmel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/at_hdmac.c
drivers/dma/at_hdmac_regs.h