Patch "ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA" has been added to the 5.4-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: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA

to the 5.4-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-resource-skip-irq-override-on-asus-vivobook-k34.patch
and it can be found in the queue-5.4 subdirectory.

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



commit adce0c030704a0cdefda80ea05caaa87e799df61
Author: Tamim Khan <tamim@xxxxxxxxxxx>
Date:   Sun Aug 28 23:04:19 2022 -0400

    ACPI: resource: Skip IRQ override on Asus Vivobook K3402ZA/K3502ZA
    
    [ Upstream commit e12dee3736731e24b1e7367f87d66ac0fcd73ce7 ]
    
    In the ACPI DSDT table for Asus VivoBook K3402ZA/K3502ZA
    IRQ 1 is described as ActiveLow; however, the kernel overrides
    it to Edge_High. This prevents the internal keyboard from working
    on these laptops. In order to fix this add these laptops to the
    skip_override_table so that the kernel does not override IRQ 1 to
    Edge_High.
    
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=216158
    Reviewed-by: Hui Wang <hui.wang@xxxxxxxxxxxxx>
    Tested-by: Tamim Khan <tamim@xxxxxxxxxxx>
    Tested-by: Sunand <sunandchakradhar@xxxxxxxxx>
    Signed-off-by: Tamim Khan <tamim@xxxxxxxxxxx>
    Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
    Stable-dep-of: c1ed72171ed5 ("ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA")
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 6489dd3ff0741..27b364e23c60b 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -392,6 +392,24 @@ static const struct dmi_system_id medion_laptop[] = {
 	{ }
 };
 
+static const struct dmi_system_id asus_laptop[] = {
+	{
+		.ident = "Asus Vivobook K3402ZA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "K3402ZA"),
+		},
+	},
+	{
+		.ident = "Asus Vivobook K3502ZA",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+			DMI_MATCH(DMI_BOARD_NAME, "K3502ZA"),
+		},
+	},
+	{ }
+};
+
 struct irq_override_cmp {
 	const struct dmi_system_id *system;
 	unsigned char irq;
@@ -402,6 +420,7 @@ struct irq_override_cmp {
 
 static const struct irq_override_cmp skip_override_table[] = {
 	{ medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0 },
+	{ asus_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0 },
 };
 
 static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity,



[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