linux/drivers/hwmon/occ
Eddie James b5c46a53ee 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>
2019-04-16 15:12:13 -07:00
..
common.c hwmon: (occ) Store error condition for rate-limited polls 2019-04-16 15:12:13 -07:00
common.h hwmon: (occ) Store error condition for rate-limited polls 2019-04-16 15:12:13 -07:00
Kconfig hwmon: OCC drivers are ARM-only 2019-04-15 17:19:53 -07:00
Makefile hwmon: (occ) Move common code to a separate module 2019-04-15 17:19:53 -07: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) Move common code to a separate module 2019-04-15 17:19:53 -07:00