hwmon: (f71882fg) Add support for F71858AD (0x0903)

Treat F71858AD like F71858FG.

Tested on Igel D220.

Signed-off-by: Aleksander Mazur <deweloper@wp.pl>
Link: https://lore.kernel.org/r/20220605012114.3d85a75a@mocarz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Aleksander Mazur 2022-06-05 01:21:14 +02:00 committed by Guenter Roeck
parent e10d9e4ca1
commit 739743ec78
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,7 @@
#define SIO_F81768D_ID 0x1210 /* Chipset ID */ #define SIO_F81768D_ID 0x1210 /* Chipset ID */
#define SIO_F81865_ID 0x0704 /* Chipset ID */ #define SIO_F81865_ID 0x0704 /* Chipset ID */
#define SIO_F81866_ID 0x1010 /* Chipset ID */ #define SIO_F81866_ID 0x1010 /* Chipset ID */
#define SIO_F71858AD_ID 0x0903 /* Chipset ID */
#define SIO_F81966_ID 0x1502 /* Chipset ID */ #define SIO_F81966_ID 0x1502 /* Chipset ID */
#define REGION_LENGTH 8 #define REGION_LENGTH 8
@ -2638,6 +2639,7 @@ static int __init f71882fg_find(int sioaddr, struct f71882fg_sio_data *sio_data)
sio_data->type = f71808a; sio_data->type = f71808a;
break; break;
case SIO_F71858_ID: case SIO_F71858_ID:
case SIO_F71858AD_ID:
sio_data->type = f71858fg; sio_data->type = f71858fg;
break; break;
case SIO_F71862_ID: case SIO_F71862_ID: