commit | 597c854974db20eebe87e91df0d12daaefabf525 | [log] [tgz] |
---|---|---|
author | Laxman Dewangan <ldewangan@nvidia.com> | Fri Jun 22 20:41:10 2012 +0530 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Wed Jun 27 19:01:52 2012 +0530 |
tree | fc0c16b153cbfbfae9ef98f3ef485c1ba13f76f9 | |
parent | 49d57b5e588ce511bd826f5759aa2aebf322626b [diff] |
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>