]> git.baikalelectronics.ru Git - kernel.git/commit
dma: tegra: use sg_dma_address() for getting dma buffer address
authorLaxman Dewangan <ldewangan@nvidia.com>
Fri, 22 Jun 2012 15:11:10 +0000 (20:41 +0530)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 27 Jun 2012 13:31:52 +0000 (19:01 +0530)
commit6bfa5078093a540e7ceb7ce4d1e9399eb5289b26
treefc0c16b153cbfbfae9ef98f3ef485c1ba13f76f9
parentbcadbd2ff0c7d14aad92a322181838927665a814
dma: tegra: use sg_dma_address() for getting dma buffer address

Use the sg_dma_address() to get the segment buffer address for
DMA transfer in place of sg_phys() which returns the physical
address of an sg entry.
The sg_dma_address() returns the correct buffer memory address
for DMA transfer.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/tegra20-apb-dma.c