Skip to content

Commit bd4f9f1

Browse files
kuu-rtij-intel
authored andcommitted
platform/x86: alienware-wmi-wmax: Fix "Alienware m16 R1 AMD" quirk order
Quirks are matched using dmi_first_match(), therefore move the "Alienware m16 R1 AMD" entry above other m16 entries. Reported-by: Cihan Ozakca <cozakca@outlook.com> Fixes: e2468dc ("Revert "platform/x86: alienware-wmi-wmax: Add G-Mode support to Alienware m16 R1"") Cc: stable@vger.kernel.org Signed-off-by: Kurt Borja <kuurtb@gmail.com> Link: https://patch.msgid.link/20251103-family-supp-v1-1-a241075d1787@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
1 parent 5f20bc2 commit bd4f9f1

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

drivers/platform/x86/dell/alienware-wmi-wmax.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,20 +122,20 @@ static const struct dmi_system_id awcc_dmi_table[] __initconst = {
122122
.driver_data = &generic_quirks,
123123
},
124124
{
125-
.ident = "Alienware m16 R1",
125+
.ident = "Alienware m16 R1 AMD",
126126
.matches = {
127127
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
128-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1"),
128+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1 AMD"),
129129
},
130-
.driver_data = &g_series_quirks,
130+
.driver_data = &generic_quirks,
131131
},
132132
{
133-
.ident = "Alienware m16 R1 AMD",
133+
.ident = "Alienware m16 R1",
134134
.matches = {
135135
DMI_MATCH(DMI_SYS_VENDOR, "Alienware"),
136-
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1 AMD"),
136+
DMI_MATCH(DMI_PRODUCT_NAME, "Alienware m16 R1"),
137137
},
138-
.driver_data = &generic_quirks,
138+
.driver_data = &g_series_quirks,
139139
},
140140
{
141141
.ident = "Alienware m16 R2",

0 commit comments

Comments
 (0)