diff options
author | Vipin K Parashar <vipin@linux.vnet.ibm.com> | 2017-03-10 17:27:32 +0530 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2017-03-31 15:22:56 +1100 |
commit | 17bb69515c6dfbe282e8a9df08ffb719ff4dbc73 (patch) | |
tree | dbdce278e818cd83380f6f76fae42982d233b256 /Documentation | |
parent | 4f9b514b765a3057341f3236c94877d9413babc7 (diff) | |
download | linux-next-17bb69515c6dfbe282e8a9df08ffb719ff4dbc73.tar.gz |
powerpc/powernv: Handle OPAL_WRONG_STATE in opal_get_sensor_data()
OPAL returns OPAL_WRONG_STATE upon failing to provide sensor data due to
core sleeping/offline. Add a check in opal_get_sensor_data() for sensor
read failure with OPAL_WRONG_STATE return code and return -EIO.
Signed-off-by: Vipin K Parashar <vipin@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions