]> git.baikalelectronics.ru Git - kernel.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)
commit2f542e0fc7d24150a9ea822da38f15baa5b9d721
tree076d2f753866ebf3cf4d16168d6e147fc1c0693d
parent4ce062870c70d404088bf50de34ea03772413b4e
ACPI: resources: Add DMI-based legacy IRQ override quirk

After the commit 7b7841cc27ad ("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