]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ACPI: resources: Add DMI-based legacy IRQ override quirk
authorHui Wang <hui.wang@canonical.com>
Wed, 15 Sep 2021 13:09:05 +0000 (21:09 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 15 Sep 2021 18:11:48 +0000 (20:11 +0200)
commit892a012699fc0b91a2ed6309078936191447f480
tree076d2f753866ebf3cf4d16168d6e147fc1c0693d
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f
ACPI: resources: Add DMI-based legacy IRQ override quirk

After the commit 0ec4e55e9f57 ("ACPI: resources: Add checks for ACPI
IRQ override") is reverted, the keyboard on Medion laptops can't
work again.

To fix the keyboard issue, add a DMI-based override check that will
not affect other machines along the lines of prt_quirks[] in
drivers/acpi/pci_irq.c.

If similar issues are seen on other platforms, the quirk table could
be expanded in the future.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213031
BugLink: http://bugs.launchpad.net/bugs/1909814
Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reported-by: Manuel Krause <manuelkrause@netscape.net>
Tested-by: Manuel Krause <manuelkrause@netscape.net>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
[ rjw: Subject and changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/resource.c