]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI: PM: s2idle: Invert Microsoft UUID entry and exit
authorMario Limonciello <mario.limonciello@amd.com>
Tue, 10 Aug 2021 01:40:04 +0000 (20:40 -0500)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 16 Aug 2021 16:28:12 +0000 (18:28 +0200)
commit740dfc132ecf3c220d15a332724b997327bf92d5
tree51c154f2bec84b3879c21d29985efe2e62736c60
parente1639f4e4b5ffc9b113b2453b7d0549f3b17007b
ACPI: PM: s2idle: Invert Microsoft UUID entry and exit

It was reported by a user with a Dell m15 R5 (5800H) that
the keyboard backlight was turning on when entering suspend
and turning off when exiting (the opposite of how it should be).

The user bisected it back to commit c88a6e888510 ("ACPI: PM:
s2idle: Add support for new Microsoft UUID").  Previous to that
commit the LEDs didn't turn off at all.  Confirming in the spec,
these were reversed when introduced.

Fix them to match the spec.

BugLink: https://gitlab.freedesktop.org/drm/amd/-/issues/1230#note_1021836
Fixes: c88a6e888510 ("ACPI: PM: s2idle: Add support for new Microsoft UUID")
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/x86/s2idle.c