commit | e2d0a43cc1af0104d6a0cca10ef8eb91328e15bf | [log] [tgz] |
---|---|---|
author | Chris Cain <cjcain@us.ibm.com> | Mon Mar 28 11:08:49 2022 -0500 |
committer | Edward A. James <eajames@us.ibm.com> | Mon Mar 28 21:42:52 2022 +0000 |
tree | fbc32c5a94d3404a4bb69bac5948bb2842ae332a | |
parent | 8676e03713334f7c8a08c827290570d52780b870 [diff] |
Handle file errors when device path gets unbound occ-control was asserting when the hwmon path would get removed due to device being unbound. This change will gracefully handle the path getting removed / added back. Tested on Raininer by unbind/bind of devices: echo occ-hwmon.2 > /sys/bus/platform/drivers/occ-hwmon/unbind echo occ-hwmon.2 > /sys/bus/platform/drivers/occ-hwmon/bind Change-Id: I46fd2c2c54868ffb8183d3dc49cd0c2751165d3b Signed-off-by: Chris Cain <cjcain@us.ibm.com>