Messages in this thread | | | Subject | Re: [PATCH] dma: tegra: use sg_dma_address() for getting dma buffer address | From | Vinod Koul <> | Date | Wed, 27 Jun 2012 19:02:36 +0530 |
| |
On Fri, 2012-06-22 at 11:12 -0600, Stephen Warren wrote: > On 06/22/2012 09:11 AM, Laxman Dewangan wrote: > > 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. > > It's what everyone else is doing, so: And this is the right thing to do. > Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Applied, thanks
-- ~Vinod
| |