Message ID | 20241208003013.6490-3-kuurtb@gmail.com (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
Series | [v2,1/2] alienware-wmi: Fix X Series and G Series quirks | expand |
Am 08.12.24 um 01:30 schrieb Kurt Borja: > Adds support to Alienware m16 R1 AMD. Reviewed-by: Armin Wolf <W_Armin@gmx.de> > Tested-by: Cihan Ozakca <cozakca@outlook.com> > Signed-off-by: Kurt Borja <kuurtb@gmail.com> > --- > v2: > - Added this patch > --- > drivers/platform/x86/dell/alienware-wmi.c | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/platform/x86/dell/alienware-wmi.c b/drivers/platform/x86/dell/alienware-wmi.c > index e69bf9a7b6c8..341d01d3e3e4 100644 > --- a/drivers/platform/x86/dell/alienware-wmi.c > +++ b/drivers/platform/x86/dell/alienware-wmi.c > @@ -241,6 +241,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = { > }, > .driver_data = &quirk_asm201, > }, > + { > + .callback = dmi_matched, > + .ident = "Alienware m16 R1 AMD", > + .matches = { > + DMI_MATCH(DMI_SYS_VENDOR, "Alienware"), > + DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1 AMD"), > + }, > + .driver_data = &quirk_x_series, > + }, > { > .callback = dmi_matched, > .ident = "Alienware m17 R5",
diff --git a/drivers/platform/x86/dell/alienware-wmi.c b/drivers/platform/x86/dell/alienware-wmi.c index e69bf9a7b6c8..341d01d3e3e4 100644 --- a/drivers/platform/x86/dell/alienware-wmi.c +++ b/drivers/platform/x86/dell/alienware-wmi.c @@ -241,6 +241,15 @@ static const struct dmi_system_id alienware_quirks[] __initconst = { }, .driver_data = &quirk_asm201, }, + { + .callback = dmi_matched, + .ident = "Alienware m16 R1 AMD", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "Alienware"), + DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1 AMD"), + }, + .driver_data = &quirk_x_series, + }, { .callback = dmi_matched, .ident = "Alienware m17 R5",