Skip to content

Commit 71a4856

Browse files
Rubén Gómezrafaeljw
authored andcommitted
ACPI: resource: Add IRQ override quirk for LG UltraPC 17U70P
Add an ACPI IRQ override quirk for LG UltraPC 17U70P to address the internal keyboard problem on it. Link: https://bugzilla.kernel.org/show_bug.cgi?id=213031 Link: https://bugzilla.kernel.org/show_bug.cgi?id=216983 Signed-off-by: Rubén Gómez Agudo <mrgommer@proton.me> [ rjw: Subject, changelog, white space damage fixes ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent f1fcbaa commit 71a4856

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

drivers/acpi/resource.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -516,6 +516,17 @@ static const struct dmi_system_id maingear_laptop[] = {
516516
{ }
517517
};
518518

519+
static const struct dmi_system_id lg_laptop[] = {
520+
{
521+
.ident = "LG Electronics 17U70P",
522+
.matches = {
523+
DMI_MATCH(DMI_SYS_VENDOR, "LG Electronics"),
524+
DMI_MATCH(DMI_BOARD_NAME, "17U70P"),
525+
},
526+
},
527+
{ }
528+
};
529+
519530
struct irq_override_cmp {
520531
const struct dmi_system_id *system;
521532
unsigned char irq;
@@ -532,6 +543,7 @@ static const struct irq_override_cmp override_table[] = {
532543
{ lenovo_laptop, 10, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, true },
533544
{ tongfang_gm_rg, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
534545
{ maingear_laptop, 1, ACPI_EDGE_SENSITIVE, ACPI_ACTIVE_LOW, 1, true },
546+
{ lg_laptop, 1, ACPI_LEVEL_SENSITIVE, ACPI_ACTIVE_LOW, 0, false },
535547
};
536548

537549
static bool acpi_dev_irq_override(u32 gsi, u8 triggering, u8 polarity,

0 commit comments

Comments
 (0)