]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ACPI: acpi_pad: Still evaluate _OST when _PUR evaluation fails
authorArmin Wolf <W_Armin@gmx.de>
Sun, 9 Jun 2024 21:09:08 +0000 (23:09 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Jun 2024 18:48:12 +0000 (20:48 +0200)
commit117478c9d710dc616b4446d12eddca3c1997266b
treec22d888880b2dce8d0ed956ac2715c099cacf05c
parent83a7eefedc9b56fe7bfeff13b6c7356688ffa670
ACPI: acpi_pad: Still evaluate _OST when _PUR evaluation fails

The ACPI specification says that if no action was performed when
processing the _PUR object, _OST should still be evaluated, albeit
with a different status code.

Evaluate _OST even when evaluating _PUR fails, to signal the firmware
that no action was performed.

Compile-tested only.

Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_pad.c