linux/drivers/hwmon/occ
Lei YU b88c504921 hwmon: (occ) Fix extended status bits
The occ's extended status is checked and shown as sysfs attributes. But
the code was incorrectly checking the "status" bits.
Fix it by checking the "ext_status" bits.

Cc: stable@vger.kernel.org
Fixes: df04ced684 ("hwmon (occ): Add sysfs attributes for additional OCC data")
Signed-off-by: Lei YU <mine260309@gmail.com>
Reviewed-by: Eddie James <eajames@linux.ibm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2019-04-15 17:19:23 -07:00
..
Kconfig
Makefile hwmon (occ): Add sysfs attributes for additional OCC data 2018-12-16 15:13:10 -08:00
common.c hwmon: (occ) Fix power sensor indexing 2019-03-29 09:51:44 -07:00
common.h hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
p8_i2c.c hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
p9_sbe.c hwmon: (occ) Fix license headers 2019-02-18 14:23:29 -08:00
sysfs.c hwmon: (occ) Fix extended status bits 2019-04-15 17:19:23 -07:00