From 145388e3fb27802a56b815930ccc853ffd0faa77 Mon Sep 17 00:00:00 2001 From: Jiri Slaby Date: Apr 20 2023 11:00:51 +0000 Subject: ACPI: resource: Add Medion S17413 to IRQ override quirk (bsc#1012628). --- diff --git a/patches.kernel.org/6.2.12-099-ACPI-resource-Add-Medion-S17413-to-IRQ-overrid.patch b/patches.kernel.org/6.2.12-099-ACPI-resource-Add-Medion-S17413-to-IRQ-overrid.patch new file mode 100644 index 0000000..ab66c38 --- /dev/null +++ b/patches.kernel.org/6.2.12-099-ACPI-resource-Add-Medion-S17413-to-IRQ-overrid.patch @@ -0,0 +1,43 @@ +From: Aymeric Wibo +Date: Sun, 19 Mar 2023 03:12:05 +0100 +Subject: [PATCH] ACPI: resource: Add Medion S17413 to IRQ override quirk +References: bsc#1012628 +Patch-mainline: 6.2.12 +Git-commit: 2d0ab14634a26e54f8d6d231b47b7ef233e84599 + +[ Upstream commit 2d0ab14634a26e54f8d6d231b47b7ef233e84599 ] + +Add DMI info of the Medion S17413 (board M1xA) to the IRQ override +quirk table. This fixes the keyboard not working on these laptops. + +Link: https://bugzilla.kernel.org/show_bug.cgi?id=213031 +Signed-off-by: Aymeric Wibo +[ rjw: Fixed up white space ] +Signed-off-by: Rafael J. Wysocki +Signed-off-by: Sasha Levin +Signed-off-by: Jiri Slaby +--- + drivers/acpi/resource.c | 7 +++++++ + 1 file changed, 7 insertions(+) + +diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c +index a222bda7..d08818ba 100644 +--- a/drivers/acpi/resource.c ++++ b/drivers/acpi/resource.c +@@ -400,6 +400,13 @@ static const struct dmi_system_id medion_laptop[] = { + DMI_MATCH(DMI_BOARD_NAME, "M17T"), + }, + }, ++ { ++ .ident = "MEDION S17413", ++ .matches = { ++ DMI_MATCH(DMI_SYS_VENDOR, "MEDION"), ++ DMI_MATCH(DMI_BOARD_NAME, "M1xA"), ++ }, ++ }, + { } + }; + +-- +2.35.3 + diff --git a/series.conf b/series.conf index 5d7c528..d62d1d8 100644 --- a/series.conf +++ b/series.conf @@ -2326,6 +2326,7 @@ patches.kernel.org/6.2.12-096-drm-amdgpu-add-mes-resume-when-do-gfx-post-sof.patch patches.kernel.org/6.2.12-097-drm-amdgpu-Force-signal-hw_fences-that-are-emb.patch patches.kernel.org/6.2.12-098-drm-amdgpu-gfx-set-cg-flags-to-enter-exit-safe.patch + patches.kernel.org/6.2.12-099-ACPI-resource-Add-Medion-S17413-to-IRQ-overrid.patch ######################################################## # Build fixes that apply to the vanilla kernel too.