summaryrefslogtreecommitdiffstats
path: root/net/kcm
diff options
context:
space:
mode:
authorRaptor Engineering Development Team <support@raptorengineering.com>2019-05-10 05:28:43 +0000
committerRaptor Engineering Development Team <support@raptorengineering.com>2019-05-10 21:18:33 +0000
commit6a2f7452a635071a267d8a888a21038263efbca5 (patch)
tree282853dbd53bc57ec2fbf3e58247eccee4e96fe7 /net/kcm
parent89326b9c4328f56403fa13e251a6a0eea392a646 (diff)
downloadblackbird-obmc-linux-6a2f7452a635071a267d8a888a21038263efbca5.tar.gz
blackbird-obmc-linux-6a2f7452a635071a267d8a888a21038263efbca5.zip
hwmon/aspeed-pwm-tacho: Return 0 RPM if fan disconnected / failed
Having a tachometer read return an -ETIMEDOUT error condition instead of 0 RPM due to a disconnected or failed fan is highly unexpected, and depending on higher level software can cause application failures. Return 0 RPM if tachometer cannot be read. This should trigger the same error paths in any sane fan control implementation without requiring special handling for the AST2x00 devices. Signed-off-by: Timothy Pearson <tpearson@raptorengineering.com>
Diffstat (limited to 'net/kcm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud