]> 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>
Wed, 12 Jun 2013 02:18:52 +0000 (07:48 +0530)
commit08b8fb39956e79f8ae6578c6a2aaca8ceec8afd7
tree885298f6efad7bded5f531b980cf0e6fb09f2b01
parentd6cae0394ac9133d17844909bf742eb6c885f933
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