[PATCH] hwmon: (nct6775) Add Asus PRIME Z390-A to WMI monitoring list

From: Matti Kurkela
Date: Sun Aug 28 2022 - 11:01:40 EST


Asus PRIME Z390-A (and presumably other Asus Z390 motherboard versions) also requires the nct6775 chip to be accessed by the WMI method. Add it to the asus_wmi_boards list.

Tested-by: Matti Kurkela <Matti.Kurkela@xxxxxx>
Signed-off-by: Matti Kurkela <Matti.Kurkela@xxxxxx>
---
Should apply to any kernel version that includes the commit c3963bc0a0cf9ecb205a9d4976eb92b6df2fa3fd
(hwmon: (nct6775) Split core and platform driver).

--- linux-5.19.4/drivers/hwmon/nct6775-platform.c.orig 2022-08-25 12:45:54.000000000 +0300
+++ linux-5.19.4/drivers/hwmon/nct6775-platform.c 2022-08-28 16:28:09.531738685 +0300
@@ -1054,6 +1054,7 @@ static const char * const asus_wmi_board
"PRIME H410M-R",
"PRIME X570-P",
"PRIME X570-PRO",
+ "PRIME Z390-A",
"ROG CROSSHAIR VIII DARK HERO",
"ROG CROSSHAIR VIII FORMULA",
"ROG CROSSHAIR VIII HERO",


--
Matti.Kurkela@xxxxxx