dmaengine: at_hdmac: fix buffer transfer size specification
commit59a609d9b59be9452f168fe228befea53d5962ff
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 13 Dec 2010 12:48:41 +0000 (13 13:48 +0100)
committerDan Williams <dan.j.williams@intel.com>
Tue, 14 Dec 2010 08:39:29 +0000 (14 00:39 -0800)
tree6ac0fe91c963ceefea29cf9cea039c4374f6aa24
parentf3c677b997757326e1f29d33060719a6a5091950
dmaengine: at_hdmac: fix buffer transfer size specification

Buffer transfer size is the number of transfers to be performed in
relation with the width of the _source_ interface.
So in the DMA_FROM_DEVICE case, it should be the register width that
should be taken into account.

Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/at_hdmac.c