]> 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)
commitccaa8ead439e6ddb6f3197c65e1ee9991e0c3dd9
tree076d2f753866ebf3cf4d16168d6e147fc1c0693d
parentb901123b83fca756ffcd85ea50a6cd9637d66d0c
ACPI: resources: Add DMI-based legacy IRQ override quirk

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