Re: [PATCH] sh: hibernation support

Francesco VIRLINZI
2009-03-11T06:50:03Z

Hi Magnus.

> Thanks for your help! I tested your patch but I need the attached fix.
>
> Can you please include my fix and resubmit inline? Feel free to add an
> ack from me.
>
Ok.
While we are 'fixing' the clock framework on resume from hibernation.
I'd like to do some similar thing on suspend/resume from standby.
I was thinking to add some flags/capability able to say to the framework
what it has to be done in standby.
Something like:

#define CLK_TURNOFF_ON_SUSPEND ....
#define CLK_REDUCE_ON_SUSPEND ...

In this manner in the single file where the clock tree is described we
have a clear view of all the scenario
(normal runtime, suspend, hibernation)...
Moreover this should not impact "medium" power level.
Regards
Francesco