Re: [PATCH] platform/chrome: Don't treat RTC events as wakeup sources

2020-11-13 Thread Enric Balletbo i Serra
On Fri, 30 Oct 2020 16:25:23 -0700, Stephen Boyd wrote: > The EC sends an RTC host event when the RTC fires, but we don't need to > treat that as a wakeup event here. The RTC class already properly > handles activating and deactivating a wakeup source in rtc_update_irq() > by calling

[PATCH] platform/chrome: Don't treat RTC events as wakeup sources

2020-10-30 Thread Stephen Boyd
The EC sends an RTC host event when the RTC fires, but we don't need to treat that as a wakeup event here. The RTC class already properly handles activating and deactivating a wakeup source in rtc_update_irq() by calling pm_stay_awake() at the start of processing and pm_relax() once all expired