]> 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>
Mon, 27 May 2013 03:50:30 +0000 (09:20 +0530)
commitf0e18e3c0df2b4ff3b508377a8442b1209202238
treefc898962912c8599b5d1b5c43dc044505fca394c
parentd0697bc9b0d6e4ace353d48aa51d542116789886
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