Re: rtc suspend()/resume() restores system clock

2007-02-23 Thread Johannes Berg
On Fri, 2007-02-23 at 19:31 +0100, Guennadi Liakhovetski wrote: > Johannes, is there any special meaning in "migrate all of powerpc to > genrtc"? Or is it just porting every single rtc driver to the generic rtc > API, moving it under drivers/rtc and adjusting its users or are there any > global

Re: rtc suspend()/resume() restores system clock

2007-02-23 Thread Guennadi Liakhovetski
First, sorry for messing up the subject line. On Fri, 23 Feb 2007, Johannes Berg wrote: > On Thu, 2007-02-22 at 23:58 +0100, Guennadi Liakhovetski wrote: > > > I think, we only want 1, right? And the latter seems to be more generic / > > platform independent? And as a side-effect, powermac woul

[patch 6/6] rtc suspend()/resume() restores system clock

2007-02-21 Thread David Brownell
RTC class suspend/resume support, re-initializing the system clock on resume from the clock used to initialize it at boot time. - Inlining the same code used by ARM, which saves and restores the delta between a selected RTC and the current system wall-clock time. - Removes calls to that ARM