Searched hist:"8 af8a2002f54178c64d59c86a8abe57bd3787b56" (Results 1 – 1 of 1) sorted by relevance
/openbmc/phosphor-hwmon/ |
H A D | sysfs.cpp | diff 8af8a2002f54178c64d59c86a8abe57bd3787b56 Wed May 31 18:26:30 CDT 2017 Brandon Wyman <v2cib530@us.ibm.com> Update call out algorithm for iio hwmon instance
When readSysfsWithCallout() or writeSysfsWithCallout() get run, use the instancePath to search for a call out path. For instances with an hwmon driver, the passed in path should be used. For instances with an iio driver, search for a phandle file that has a value matching to that in the io-channels file for this phosphor-hwmon instance. If an error occurs on the read or write, use that matching phandle path to create a call out path.
Resolves openbmc/openbmc#1265
Change-Id: I6390d0dfb3d67ce8a55d171ca9a3cb8f3057a8c9 Signed-off-by: Brandon Wyman <v2cib530@us.ibm.com>
|