diff options
author | Edward A. James <eajames@us.ibm.com> | 2017-11-30 13:17:26 -0600 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2017-12-11 20:41:15 -0500 |
commit | 26d21731c292a02ec71480fade9a06658160eafb (patch) | |
tree | 1a0f658e70d9b3387c8643fb1ebd74dfeeecf04f /mainloop.cpp | |
parent | fee106b9bf94e9a393c7c44b53b7cc5d9f89b439 (diff) | |
download | phosphor-hwmon-26d21731c292a02ec71480fade9a06658160eafb.tar.gz phosphor-hwmon-26d21731c292a02ec71480fade9a06658160eafb.zip |
Silently exit on ENODEV
ENODEV should be included in the check for "disappeared" device or
directory when hwmon driver is being unloaded. There is a race
condition between unloading drivers and stopping hwmon polling, even
up to several seconds, which exceeds the previous retry period for
ENODEV.
Change-Id: I39c8ae9ea79aa41028f5529c7ea9816d4736fc65
Signed-off-by: Edward A. James <eajames@us.ibm.com>
Diffstat (limited to 'mainloop.cpp')
0 files changed, 0 insertions, 0 deletions