]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: at_hdmac: use dma_address to program DMA hardware
authorNicolas Ferre <nicolas.ferre@atmel.com>
Wed, 15 Dec 2010 17:50:16 +0000 (18:50 +0100)
committerDan Williams <dan.j.williams@intel.com>
Sat, 15 Jan 2011 00:25:58 +0000 (16:25 -0800)
commitdd1b3a1f49a7d5587a35672a5b1482606389e23f
tree8e7800effeaf4a37080744f7694f9f1c5677179e
parent10d3508a62eb53463412f0ff59254e655eaf9052
dmaengine: at_hdmac: use dma_address to program DMA hardware

In atc_prep_slave_sg() function we use dma_address field of scatterlist with
sg_dma_address() macro instead of sg_phys(). DMA address is already computed
by dma_map_sg() or another mapping function in calling driver.

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