aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/button.c
diff options
context:
space:
mode:
authorIngo Molnar <[email protected]>2025-04-16 05:03:04 +0000
committerIngo Molnar <[email protected]>2025-04-16 05:03:58 +0000
commit06e09002bc1d46505d6b3bd947ebaf3cec7acab8 (patch)
treeda8b8a243b23ed3e5d9d790878924d65bc463b14 /drivers/acpi/button.c
parentx86/cpufeatures: Shorten X86_FEATURE_AMD_HETEROGENEOUS_CORES (diff)
parentMerge tag 'edac_urgent_for_v6.15_rc3' of git://git.kernel.org/pub/scm/linux/k... (diff)
downloadkernel-06e09002bc1d46505d6b3bd947ebaf3cec7acab8.tar.gz
kernel-06e09002bc1d46505d6b3bd947ebaf3cec7acab8.zip
Merge branch 'linus' into x86/cpu, to resolve conflicts
Conflicts: tools/arch/x86/include/asm/cpufeatures.h Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/acpi/button.c')
-rw-r--r--drivers/acpi/button.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c
index 90b09840536d..0a7026040188 100644
--- a/drivers/acpi/button.c
+++ b/drivers/acpi/button.c
@@ -458,7 +458,7 @@ static void acpi_button_notify(acpi_handle handle, u32 event, void *data)
acpi_pm_wakeup_event(&device->dev);
button = acpi_driver_data(device);
- if (button->suspended)
+ if (button->suspended || event == ACPI_BUTTON_NOTIFY_WAKE)
return;
input = button->input;