Re: [PATCH] sh: hibernation support

Francesco VIRLINZI
2009-03-09T10:03:46Z

Hi Magnus

I'm sorry if I'm stressing you but you will have similar problem also
with the clock framework.
A simple
- clk_get_rate(...)
could return a wrong value if in the previous session someone changed
the clock rate (from init value) and
you don't force again in the hw the resumed "clk->rate".

Regards
Francesco

>> If you use a "mini-kernel" with several modules... when you will resume from
>> hibernation at the begin
>> you boots again the 'mini-kernel'... after that you restore the previous
>> image and the irq line required by
>> module more probably remains as it was (not-initialized).
>>
>
> Ok, good point. I'll add intc suspend/resume to my todo list!
>
> Thanks!
>
> / magnus
> --
> To unsubscribe from this list: send the line "unsubscribe linux-sh" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>