diff options
author | Hikari Hayashi | 2022-06-30 22:25:56 +0800 |
---|---|---|
committer | Hikari Hayashi | 2022-07-02 01:26:04 +0800 |
commit | 41d4266dcc96838e415ba761ccd57d0ab219b37a (patch) | |
tree | d1c656692353d51bf472ba7921126c83c36cb6de /v3-1-3-ACPI-skip-IRQ1-override-on-Lenovo-ThinkBook-14G4-ARA.patch | |
parent | 5f72fa13e8605082720575647b2d1538d05f39ea (diff) | |
download | aur-41d4266dcc96838e415ba761ccd57d0ab219b37a.tar.gz |
Update acpi patch
Diffstat (limited to 'v3-1-3-ACPI-skip-IRQ1-override-on-Lenovo-ThinkBook-14G4-ARA.patch')
-rw-r--r-- | v3-1-3-ACPI-skip-IRQ1-override-on-Lenovo-ThinkBook-14G4-ARA.patch | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/v3-1-3-ACPI-skip-IRQ1-override-on-Lenovo-ThinkBook-14G4-ARA.patch b/v3-1-3-ACPI-skip-IRQ1-override-on-Lenovo-ThinkBook-14G4-ARA.patch deleted file mode 100644 index beeea3ea1d55..000000000000 --- a/v3-1-3-ACPI-skip-IRQ1-override-on-Lenovo-ThinkBook-14G4-ARA.patch +++ /dev/null @@ -1,50 +0,0 @@ -The IRQ is described as (Edge, ActiveLow, Shared, ) in ACPI DSDT and -it's correct. The override makes the keyboard interrupt polarity -inverted, resulting in non-functional keyboard. -Add an entry for skipping the override. - -Cc: <stable@vger.kernel.org> -Signed-off-by: Chuanhong Guo <gch981213@gmail.com> ---- -Change since v1: - Match DMI_PRODUCT_NAME for ThinkBook because the board name - is used for other completely different Lenovo laptops. - -Change since v2: - fix alphabetical order in skip_override_table - - drivers/acpi/resource.c | 12 ++++++++++++ - 1 file changed, 12 insertions(+) - -diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c -index c2d494784425..f888c62b8b96 100644 ---- a/drivers/acpi/resource.c -+++ b/drivers/acpi/resource.c -@@ -399,6 +399,17 @@ static const struct dmi_system_id medion_laptop[] = { - { } - }; - -+static const struct dmi_system_id irq1_edge_low_shared[] = { -+ { -+ .ident = "Lenovo ThinkBook 14 G4+ ARA", -+ .matches = { -+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), -+ DMI_MATCH(DMI_PRODUCT_NAME, "21D0"), -+ }, -+ }, -+ { } -+}; -+ - struct irq_override_cmp { - const struct dmi_system_id *system; - unsigned char irq; -@@ -408,6 +419,7 @@ struct irq_override_cmp { - }; - - static const struct irq_override_cmp skip_override_table[] = { -+ { irq1_edge_low_shared, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1 }, - { medion_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0 }, - }; - --- -2.36.1 |