Re: [PATCH v5] time: Fix extra sleeptime injection when suspend fails

2018-07-17 Thread John Stultz
On Mon, Jul 16, 2018 at 11:31 PM, Mukesh Ojha wrote: > Currently, there exists a corner case assuming when there is > only one clocksource e.g RTC, and system failed to go to > suspend mode. While resume rtc_resume() injects the sleeptime > as timekeeping_rtc_skipresume() returned 'false' (default

[PATCH v5] time: Fix extra sleeptime injection when suspend fails

2018-07-16 Thread Mukesh Ojha
Currently, there exists a corner case assuming when there is only one clocksource e.g RTC, and system failed to go to suspend mode. While resume rtc_resume() injects the sleeptime as timekeeping_rtc_skipresume() returned 'false' (default value of sleeptime_injected) due to which we can see mismatch