]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection...
authorShubham Panwar <shubiisp8@gmail.com>
Sun, 20 Oct 2024 09:50:46 +0000 (15:20 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Nov 2024 00:52:37 +0000 (01:52 +0100)
commit681c99175bb8763bce346a4d743adbe63e114ea1
treeee649ab13668e39f5fa71fc5309e74804273bb8b
parentc5a3aaa37713403078ef6ffb105c70a9b828d667
ACPI: button: Add DMI quirk for Samsung Galaxy Book2 to fix initial lid detection issue

commit 8fa73ee44daefc884c53a25158c25a4107eb5a94 upstream.

Add a DMI quirk for Samsung Galaxy Book2 to fix an initial lid state
detection issue.

The _LID device incorrectly returns the lid status as "closed" during
boot, causing the system to enter a suspend loop right after booting.

The quirk ensures that the correct lid state is reported initially,
preventing the system from immediately suspending after startup.  It
only addresses the initial lid state detection and ensures proper
system behavior upon boot.

Signed-off-by: Shubham Panwar <shubiisp8@gmail.com>
Link: https://patch.msgid.link/20241020095045.6036-2-shubiisp8@gmail.com
[ rjw: Changelog edits ]
Cc: All applicable <stable@vger.kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/acpi/button.c