lkml.org 
[lkml]   [2011]   [Nov]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dmaengine/ste_dma40: support pm in dma40
On Thu, Nov 17, 2011 at 06:23:52 +0100, Vinod Koul wrote:
> runtime pm manages the device power management. It will call your
> suspend/resume callbacks when your device is idle/active and manages the
> device usage for you.
> Within your device you need to do your own management, which should be
> linked to channel being active. You should not club the two.
>
> I am not sure if the clock framework can help you on this

Instead of switching on and off eventlines very frequently, I'll
do it in the runtime_suspend() and runtime_resume(), so that it
looks more neat and can get away with these usage counters.
I will re-work and submit a new version of this patch.

~Narayanan


\
 
 \ /
  Last update: 2011-11-17 07:43    [W:0.079 / U:0.300 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site