Re: [PATCH] dma: tegra: use sg_dma_address() for getting dmabuffer address

From: Vinod Koul
Date: Wed Jun 27 2012 - 09:42:08 EST


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@xxxxxxxxxxxxx>

Applied, thanks

--
~Vinod

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/