]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
platform/x86: asus-armoury: keep the list ordered alphabetically
authorDenis Benato <denis.benato@linux.dev>
Fri, 16 Jan 2026 18:06:36 +0000 (19:06 +0100)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 20 Jan 2026 14:56:51 +0000 (16:56 +0200)
Model GA403WM appears after GA403WR breaking the alphabetical order:
swap theirs position.

Fixes: f5fc40734b0f ("platform/x86: asus-armoury: add support for GA403WM")
Signed-off-by: Denis Benato <denis.benato@linux.dev>
Link: https://patch.msgid.link/20260116180637.859803-4-denis.benato@linux.dev
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
drivers/platform/x86/asus-armoury.h

index 3efb4b4d0d222f50c939735168d7f16ac8b36db3..c67942010869a2d8c0efcc4e2c55dffb0babd6a4 100644 (file)
@@ -957,7 +957,7 @@ static const struct dmi_system_id power_limits[] = {
        },
        {
                .matches = {
-                       DMI_MATCH(DMI_BOARD_NAME, "GA403WR"),
+                       DMI_MATCH(DMI_BOARD_NAME, "GA403WM"),
                },
                .driver_data = &(struct power_data) {
                        .ac_data = &(struct power_limits) {
@@ -968,11 +968,11 @@ static const struct dmi_system_id power_limits[] = {
                                .ppt_pl3_fppt_min = 35,
                                .ppt_pl3_fppt_max = 80,
                                .nv_dynamic_boost_min = 0,
-                               .nv_dynamic_boost_max = 25,
+                               .nv_dynamic_boost_max = 15,
                                .nv_temp_target_min = 75,
                                .nv_temp_target_max = 87,
-                               .nv_tgp_min = 80,
-                               .nv_tgp_max = 95,
+                               .nv_tgp_min = 55,
+                               .nv_tgp_max = 85,
                        },
                        .dc_data = &(struct power_limits) {
                                .ppt_pl1_spl_min = 15,
@@ -989,7 +989,7 @@ static const struct dmi_system_id power_limits[] = {
        },
        {
                .matches = {
-                       DMI_MATCH(DMI_BOARD_NAME, "GA403WM"),
+                       DMI_MATCH(DMI_BOARD_NAME, "GA403WR"),
                },
                .driver_data = &(struct power_data) {
                        .ac_data = &(struct power_limits) {
@@ -1000,11 +1000,11 @@ static const struct dmi_system_id power_limits[] = {
                                .ppt_pl3_fppt_min = 35,
                                .ppt_pl3_fppt_max = 80,
                                .nv_dynamic_boost_min = 0,
-                               .nv_dynamic_boost_max = 15,
+                               .nv_dynamic_boost_max = 25,
                                .nv_temp_target_min = 75,
                                .nv_temp_target_max = 87,
-                               .nv_tgp_min = 55,
-                               .nv_tgp_max = 85,
+                               .nv_tgp_min = 80,
+                               .nv_tgp_max = 95,
                        },
                        .dc_data = &(struct power_limits) {
                                .ppt_pl1_spl_min = 15,