Skip to content

Commit 5b4285c

Browse files
zeulegroeck
authored andcommitted
hwmon: (asus-ec-sensors) fix Formula VIII definition
The ROG CROSSHAIR VIII FORMULA board has the same sensors as the CROSSHAIR VIII HERO [1] thus let's join their definitions which adds missing sensors for Formula. [1] LibreHardwareMonitor/LibreHardwareMonitor#740 Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com> Link: https://lore.kernel.org/r/20220517080508.1910953-1-eugene.shalygin@gmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent 3a3aad6 commit 5b4285c

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

drivers/hwmon/asus-ec-sensors.c

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ static char *mutex_path_override;
5454
/* ACPI mutex for locking access to the EC for the firmware */
5555
#define ASUS_HW_ACCESS_MUTEX_ASMX "\\AMW0.ASMX"
5656

57-
#define MAX_IDENTICAL_BOARD_VARIATIONS 2
57+
#define MAX_IDENTICAL_BOARD_VARIATIONS 3
5858

5959
/* Moniker for the ACPI global lock (':' is not allowed in ASL identifiers) */
6060
#define ACPI_GLOBAL_LOCK_PSEUDO_PATH ":GLOBAL_LOCK"
@@ -257,17 +257,9 @@ static const struct ec_board_info board_info[] = {
257257
.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
258258
.family = family_amd_500_series,
259259
},
260-
{
261-
.board_names = {"ROG CROSSHAIR VIII FORMULA"},
262-
.sensors = SENSOR_SET_TEMP_CHIPSET_CPU_MB |
263-
SENSOR_TEMP_T_SENSOR | SENSOR_TEMP_VRM |
264-
SENSOR_FAN_CPU_OPT | SENSOR_FAN_CHIPSET |
265-
SENSOR_CURR_CPU | SENSOR_IN_CPU_CORE,
266-
.mutex_path = ASUS_HW_ACCESS_MUTEX_ASMX,
267-
.family = family_amd_500_series,
268-
},
269260
{
270261
.board_names = {
262+
"ROG CROSSHAIR VIII FORMULA"
271263
"ROG CROSSHAIR VIII HERO",
272264
"ROG CROSSHAIR VIII HERO (WI-FI)",
273265
},

0 commit comments

Comments
 (0)