ACPI: EC: Add quirk for HP 250 G7 Notebook PC
authorJonathan Denose <jdenose@chromium.org>
Tue, 24 Oct 2023 14:13:36 +0000 (09:13 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2023 17:06:56 +0000 (17:06 +0000)
commit70997012d8dd26c9363caee3ba80b17e77d916ca
tree8a4eeae53e57eb1a5b1de4dd5ad4ebd474593341
parent87624b1f9b781549e69f92db7ede012a21cec275
ACPI: EC: Add quirk for HP 250 G7 Notebook PC

[ Upstream commit 891ddc03e2f4395e24795596e032f57d5ab37fe7 ]

Add GPE quirk entry for HP 250 G7 Notebook PC.

This change allows the lid switch to be identified as the lid switch
and not a keyboard button. With the lid switch properly identified, the
device triggers suspend correctly on lid close.

Signed-off-by: Jonathan Denose <jdenose@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/ec.c