hwmon: (it87) Fix in7 voltage display
Subsystems (2)
Guenter Roeck
maintainerPATCH 1/22 hwmon: (it87) Fix in7 voltage display
Commit a6ebb8b09421 ("hwmon: (it87) Introduce feature flag to reflect internal in7 sensor") actually caused in7 to never be recognized as internal.
--- drivers/hwmon/it87.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hwmon/it87.c +1 -1
@@ -1910,7 +1910,7 @@ static int __init it87_find(unsigned short *address, sio_data->internal |= (1 <<1 );/* in8 (Vbat) is always internal */ - sio_data->internal = (1 <<2 ); + sio_data->internal |= (1 <<2 );/* Only the IT8603E has in9 */ if (sio_data->type != it8603)
Signature · 7 lines
2.1.0 _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Hi Guenter,
Quoted 13 lines · Guenter Roeck
Commit
a6ebb8b09421("hwmon: (it87) Introduce feature flag to reflect internal in7 sensor") actually caused in7 to never be recognized as internal.Signed-off-by Guenter Roeck <[email protected]>--- drivers/hwmon/it87.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/it87.c +0
-0
drivers/hwmon/it87.c static int __init it87_find(unsigned short *address, · line 1916
Quoted 8 lines
drivers/hwmon/it87.c +1
-1@@ -1910,7 +1910,7 @@ static int __init it87_find(unsigned short *address, sio_data->internal |= (1 <<1 );/* in8 (Vbat) is always internal */ - sio_data->internal = (1 <<2 ); + sio_data->internal |= (1 <<2 );/* Only the IT8603E has in9 */ if (sio_data->type != it8603)
Meanwhile you merged that fix in patch "hwmon: (it87) Introduce feature flag to reflect internal in7 sensor" so this patch is no longer relevant, right?
Signature · 7 lines
Jean Delvare SUSE L3 Support _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Guenter Roeck
maintainerQuoted 22 lines · Jean Delvare
Hi Guenter,
Quoted 19 lines · Guenter Roeck
Commit
a6ebb8b09421("hwmon: (it87) Introduce feature flag to reflect internal in7 sensor") actually caused in7 to never be recognized as internal.Signed-off-by Guenter Roeck <[email protected]>--- drivers/hwmon/it87.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/hwmon/it87.c +1
-1@@ -1910,7 +1910,7 @@ static int __init it87_find(unsigned short *address, sio_data->internal |= (1 <<1 );/* in8 (Vbat) is always internal */ - sio_data->internal = (1 <<2 ); + sio_data->internal |= (1 <<2 );
Quoted 7 lines
drivers/hwmon/it87.c static int __init it87_find(unsigned short *address, · line 1916
Quoted 2 lines
drivers/hwmon/it87.c +0
-0/* Only the IT8603E has in9 */ if (sio_data->type != it8603)Meanwhile you merged that fix in patch "hwmon: (it87) Introduce feature flag to reflect internal in7 sensor" so this patch is no longer relevant, right?
Yes.
Thanks,
Guenter
_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors