summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/occ/Kconfig
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-04-16 15:43:48 +0000
committerGuenter Roeck <linux@roeck-us.net>2019-04-16 15:12:13 -0700
commitb5c46a53ee6b1f97104883d93847b2b2fdddc289 (patch)
treefcfb20d259c7a37a785718d90892b9f61db7888d /drivers/hwmon/occ/Kconfig
parent5c090abf945bf5fd496c861f371410888be8f4de (diff)
downloadlinux-b5c46a53ee6b1f97104883d93847b2b2fdddc289.tar.bz2
hwmon: (occ) Store error condition for rate-limited polls
The OCC driver limits the rate of sending poll commands to the OCC. If a user reads a hwmon entry after a poll response resulted in an error and is rate-limited, the error is invisible to the user. Fix this by storing the last error and returning that in the rate-limited case. Signed-off-by: Eddie James <eajames@linux.ibm.com> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/occ/Kconfig')
0 files changed, 0 insertions, 0 deletions