]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit0f70e8cea3ac6a765289811c590a16934bf47711
tree8e7800effeaf4a37080744f7694f9f1c5677179e
parent2cdf2455a660ea860272ef3f833f0e5c4cc80205
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