mirror of https://github.com/torvalds/linux.git
hwmon: (nct6683) Add customer ID for ASRock B650I Lightning WiFi
The ASRock B650I Lightning WiFi motherboard uses an NCT6686D chip with a customer ID of 0x1633. Without this ID, the nct6683 driver fails to recognize the hardware on this board, preventing hardware monitoring from working. Add NCT6683_CUSTOMER_ID_ASROCK6 (0x1633) to the list of supported customer IDs and update the probe function to handle it Signed-off-by: Petr Klotz <pklotz0@protonmail.com> Link: https://lore.kernel.org/r/20260412000911.9063-2-pklotz0@protonmail.com Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
parent
a0c370a6fd
commit
ff708b549c
|
|
@ -182,6 +182,7 @@ superio_exit(int ioreg)
|
|||
#define NCT6683_CUSTOMER_ID_ASROCK3 0x1631
|
||||
#define NCT6683_CUSTOMER_ID_ASROCK4 0x163e
|
||||
#define NCT6683_CUSTOMER_ID_ASROCK5 0x1621
|
||||
#define NCT6683_CUSTOMER_ID_ASROCK6 0x1633
|
||||
|
||||
#define NCT6683_REG_BUILD_YEAR 0x604
|
||||
#define NCT6683_REG_BUILD_MONTH 0x605
|
||||
|
|
@ -1245,6 +1246,8 @@ static int nct6683_probe(struct platform_device *pdev)
|
|||
break;
|
||||
case NCT6683_CUSTOMER_ID_ASROCK5:
|
||||
break;
|
||||
case NCT6683_CUSTOMER_ID_ASROCK6:
|
||||
break;
|
||||
default:
|
||||
if (!force)
|
||||
return -ENODEV;
|
||||
|
|
|
|||
Loading…
Reference in New Issue