Commit b88c5049 authored by Lei YU's avatar Lei YU Committed by Guenter Roeck
Browse files

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: df04ced6 ("hwmon (occ): Add sysfs attributes for additional OCC data")
Signed-off-by: default avatarLei YU <mine260309@gmail.com>
Reviewed-by: default avatarEddie James <eajames@linux.ibm.com>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 53f1647d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment