diff options
| author | 2019-04-15 18:37:20 +0800 | |
|---|---|---|
| committer | 2019-04-15 17:19:23 -0700 | |
| commit | b88c5049219a7f322bb1fd65fc30d17472a23563 (patch) | |
| tree | 77ed2fac05f5148fe427b8d9f70e4336f1c19513 /include/linux | |
| parent | hwmon: (pwm-fan) Disable PWM if fetching cooling data fails (diff) | |
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: df04ced684d4 ("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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
