lkml.org 
[lkml]   [2013]   [Apr]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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.



\
 
 \ /
  Last update: 2013-04-30 15:21    [W:0.696 / U:0.412 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site