]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: scan: Do not mark button ACPI devices as wakeup-capable
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 15 Dec 2025 14:00:57 +0000 (15:00 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 26 Dec 2025 14:08:57 +0000 (15:08 +0100)
commit91ba8de81bcb8cea922ee9427e54798a16dfd724
tree6d9fbe560ebeea0cf9e3b6a3608a37e5da20a9b9
parent2cf321ef4e8225108b5680dcdfc9429ed965aa30
ACPI: scan: Do not mark button ACPI devices as wakeup-capable

It is generally questionable to mark struct acpi_device "devices" as
wakeup-capable because they represent firmware entities that by
themselves have no wakeup capabilities.

It was done for struct acpi_device "devices" corresponding to buttons
because the ACPI button driver was binding to them directly, but now
that corresponding platform devices are created for the buttons and
they are marked as wakeup-capable by the ACPI button driver, there is
no reason to continue doing it.

Update acpi_wakeup_gpe_init() accordingly.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2891119.BEx9A2HvPv@rafael.j.wysocki
drivers/acpi/scan.c