]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (aspeed-pwm-tacho) On read failure return -ETIMEDOUT
authorPatrick Venture <venture@google.com>
Tue, 30 May 2017 19:42:01 +0000 (12:42 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 30 May 2017 22:15:40 +0000 (15:15 -0700)
commit20373ccdfc1f48ab3fd83c2c3f0ec8181f995410
tree3c99738ca60c33f8cf559cafde0ccabcec4a4afe
parent43ef0dcb25e0fd1959dd85fec0a49e457cfebdf3
hwmon: (aspeed-pwm-tacho) On read failure return -ETIMEDOUT

When the controller fails to provide an RPM reading within the alloted
time; the driver returns -ETIMEDOUT and no file contents.

Signed-off-by: Patrick Venture <venture@google.com>
Fixes: d35baea50aef ("drivers: hwmon: Support for ASPEED PWM/Fan tach")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/aspeed-pwm-tacho.c