summaryrefslogtreecommitdiff
path: root/scripts/rustdoc_test_builder.rs
diff options
context:
space:
mode:
authorJohan Hovold <johan+linaro@kernel.org>2023-07-13 16:57:39 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-07-24 09:51:51 +0200
commit8527beb12087238d4387607597b4020bc393c4b4 (patch)
tree65ef03197ede48ecce8e189086cee043d3072f7c /scripts/rustdoc_test_builder.rs
parent6eaae198076080886b9e7d57f4ae06fa782f90ef (diff)
PM: sleep: wakeirq: fix wake irq arming
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. Fixes: 69728051f5bf ("PM / wakeirq: Fix unbalanced IRQ enable for wakeirq") Cc: 4.16+ <stable@vger.kernel.org> # 4.16+ Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Tony Lindgren <tony@atomide.com> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/rustdoc_test_builder.rs')
0 files changed, 0 insertions, 0 deletions