[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <517FBC38.3000108@nvidia.com>
Date: Tue, 30 Apr 2013 18:12:32 +0530
From: Laxman Dewangan <ldewangan@...dia.com>
To: Vinod Koul <vinod.koul@...el.com>
CC: "djbw@...com" <djbw@...com>,
"swarren@...dotorg.org" <swarren@...dotorg.org>,
"linux-tegra@...r.kernel.org" <linux-tegra@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] dma: tegra: implement suspend/resume callbacks
On Tuesday 30 April 2013 04:00 PM, Vinod Koul wrote:
> On Wed, Apr 24, 2013 at 03:24:27PM +0530, Laxman Dewangan wrote:
>> +
>> + /* Enable clock before accessing register */
>> + ret = tegra_dma_runtime_resume(dev);
>> + if (ret < 0)
>> + return ret;
> You dont seem to handle suspend when DMA is active? Otherwise looks fine.
> Stephen, you okay with this patch?
The client of dma need to gracefully stop the transfer and then do
suspend himself.
Also driver suspend can happen even if there is no allocation of dma. In
this case, clock is disabled so enabling explicitly here.
--
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