Xunlei Pang
0fa88cb4b8
time, drivers/rtc: Don't bother with rtc_resume() for the nonstop clocksource
...
If a system does not provide a persistent_clock(), the time
will be updated on resume by rtc_resume(). With the addition
of the non-stop clocksources for suspend timing, those systems
set the time on resume in timekeeping_resume(), but may not
provide a valid persistent_clock().
This results in the rtc_resume() logic thinking no one has set
the time and it then will over-write the suspend time again,
which is not necessary and only increases clock error.
So, fix this for rtc_resume().
This patch also improves the name of persistent_clock_exist to
make it more grammatical.
Signed-off-by: Xunlei Pang <pang.xunlei@linaro.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/1427945681-29972-19-git-send-email-john.stultz@linaro.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
2015-04-03 08:18:34 +02:00
..
2015-04-03 08:18:34 +02:00
2015-01-23 17:21:57 -08:00
2015-04-03 08:18:24 +02:00
2015-02-19 10:36:45 -08:00
2015-02-16 17:56:05 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:25 +02:00
2014-12-14 16:10:09 -08:00
2015-02-13 21:21:43 -08:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2015-03-18 01:58:16 +01:00
2015-03-04 22:10:59 +01:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-29 16:33:14 -07:00
2014-10-20 16:21:31 +02:00
2014-10-14 02:18:19 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-01-23 17:21:56 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-12-10 17:41:15 -08:00
2014-12-10 17:41:15 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-28 09:57:51 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-08-08 15:57:19 -07:00
2015-01-29 19:16:40 +01:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:43 -08:00
2015-02-16 17:56:02 -08:00
2015-02-16 17:56:02 -08:00
2014-10-20 16:21:31 +02:00
2014-11-21 12:00:00 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:26 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-03-25 16:20:30 -07:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:29 +02:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2014-11-17 18:04:01 +11:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:42 -08:00
2014-12-10 17:41:15 -08:00
2014-10-14 02:18:17 +02:00
2014-08-08 15:57:20 -07:00
2014-11-03 19:53:56 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-02-13 21:21:43 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-14 02:18:19 +02:00
2015-03-12 18:46:07 -07:00
2015-01-26 13:37:19 -08:00
2014-10-20 16:21:31 +02:00
2014-12-14 16:10:09 -08:00
2014-12-14 16:10:09 -08:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-09-19 12:39:19 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:24 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2014-10-20 16:21:31 +02:00
2015-04-03 08:18:24 +02:00