Patch "ACPI: EC: Add quirk for HP 250 G7 Notebook PC" has been added to the 6.5-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    ACPI: EC: Add quirk for HP 250 G7 Notebook PC

to the 6.5-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     acpi-ec-add-quirk-for-hp-250-g7-notebook-pc.patch
and it can be found in the queue-6.5 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 05b1d56bf30b4a715d6d85796fa84ecca0b91a8d
Author: Jonathan Denose <jdenose@xxxxxxxxxxxx>
Date:   Tue Oct 24 09:13:36 2023 -0500

    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@xxxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index c95d0edb0be9e..a59c11df73754 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -1924,6 +1924,16 @@ static const struct dmi_system_id ec_dmi_table[] __initconst = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "HP Pavilion Gaming Laptop 15-dk1xxx"),
 		},
 	},
+	{
+		/*
+		 * HP 250 G7 Notebook PC
+		 */
+		.callback = ec_honor_dsdt_gpe,
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "HP"),
+			DMI_MATCH(DMI_PRODUCT_NAME, "HP 250 G7 Notebook PC"),
+		},
+	},
 	{
 		/*
 		 * Samsung hardware



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux