[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1340803956.1562.245.camel@vkoul-udesk3>
Date: Wed, 27 Jun 2012 19:02:36 +0530
From: Vinod Koul <vinod.koul@...ux.intel.com>
To: Stephen Warren <swarren@...dotorg.org>
Cc: Laxman Dewangan <ldewangan@...dia.com>, dan.j.williams@...el.com,
linux-kernel@...r.kernel.org, linux-tegra@...r.kernel.org
Subject: Re: [PATCH] dma: tegra: use sg_dma_address() for getting dma
buffer address
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@...dotorg.org>
Applied, thanks
--
~Vinod
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists