diff mbox series

[RESEND,For,5.16] ACPI: resources: Add one more Medion model in IRQ override quirk

Message ID 20211025061601.7866-1-hui.wang@canonical.com (mailing list archive)
State Mainlined, archived
Headers show
Series [RESEND,For,5.16] ACPI: resources: Add one more Medion model in IRQ override quirk | expand

Commit Message

Hui Wang Oct. 25, 2021, 6:16 a.m. UTC
The Medion s17 series laptops have the same issue on the keyboard
as the s15 series, if skipping to call acpi_get_override_irq(), the
keyboard could work well. So put the DMI info of s17 series in the
IRQ override quirk table as well.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213031
Tested-by: dirksche <dirksche@posteo.de>
Signed-off-by: Hui Wang <hui.wang@canonical.com>
---
 drivers/acpi/resource.c | 7 +++++++
 1 file changed, 7 insertions(+)

Comments

Rafael J. Wysocki Oct. 26, 2021, 1:39 p.m. UTC | #1
On Mon, Oct 25, 2021 at 8:16 AM Hui Wang <hui.wang@canonical.com> wrote:
>
> The Medion s17 series laptops have the same issue on the keyboard
> as the s15 series, if skipping to call acpi_get_override_irq(), the
> keyboard could work well. So put the DMI info of s17 series in the
> IRQ override quirk table as well.
>
> BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=213031
> Tested-by: dirksche <dirksche@posteo.de>
> Signed-off-by: Hui Wang <hui.wang@canonical.com>
> ---
>  drivers/acpi/resource.c | 7 +++++++
>  1 file changed, 7 insertions(+)
>
> diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
> index 7bf38652e6ac..3c25ce8c95ba 100644
> --- a/drivers/acpi/resource.c
> +++ b/drivers/acpi/resource.c
> @@ -389,6 +389,13 @@ static const struct dmi_system_id medion_laptop[] = {
>                         DMI_MATCH(DMI_BOARD_NAME, "M15T"),
>                 },
>         },
> +       {
> +               .ident = "MEDION S17405",
> +               .matches = {
> +                       DMI_MATCH(DMI_SYS_VENDOR, "MEDION"),
> +                       DMI_MATCH(DMI_BOARD_NAME, "M17T"),
> +               },
> +       },
>         { }
>  };
>
> --

Applied as 5.16 material, thanks!
diff mbox series

Patch

diff --git a/drivers/acpi/resource.c b/drivers/acpi/resource.c
index 7bf38652e6ac..3c25ce8c95ba 100644
--- a/drivers/acpi/resource.c
+++ b/drivers/acpi/resource.c
@@ -389,6 +389,13 @@  static const struct dmi_system_id medion_laptop[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "M15T"),
 		},
 	},
+	{
+		.ident = "MEDION S17405",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "MEDION"),
+			DMI_MATCH(DMI_BOARD_NAME, "M17T"),
+		},
+	},
 	{ }
 };