Messages in this thread | | | Date | Fri, 14 Jul 2023 10:48:11 +0300 | From | Tony Lindgren <> | Subject | Re: [PATCH 1/3] PM / wakeirq: fix wake irq arming |
| |
* Johan Hovold <johan+linaro@kernel.org> [230713 15:01]: > The decision whether to enable a wake irq during suspend can not be done > based on the runtime PM state directly as a driver may use wake irqs > without implementing runtime PM. Such drivers specifically leave the > state set to the default 'suspended' and the wake irq is thus never > enabled at suspend. > > Add a new wake irq flag to track whether a dedicated wake irq has been > enabled at runtime suspend and therefore must not be enabled at system > suspend. > > Note that pm_runtime_enabled() can not be used as runtime PM is always > disabled during late suspend.
Works for me:
Reviewed-by: Tony Lindgren <tony@atomide.com> Tested-by: Tony Lindgren <tony@atomide.com>
| |