]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: at_hdmac: fix buffer transfer size specification
authorNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 13 Dec 2010 12:48:41 +0000 (13:48 +0100)
committerDan Williams <dan.j.williams@intel.com>
Tue, 14 Dec 2010 08:39:29 +0000 (00:39 -0800)
commit92b9c69055b3d6af45d3168001dc369ebf518a57
tree6ac0fe91c963ceefea29cf9cea039c4374f6aa24
parent49f1a39053aa1bee40b14632b92d96656be86488
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