diff options
author | 2015-01-12 14:32:00 +0100 | |
---|---|---|
committer | 2015-01-25 09:17:58 -0800 | |
commit | 564132d9d62b3151dc6573da794378b5bf0cea17 (patch) | |
tree | bfecf5fc4a7f7a9ec0b698e2d8f54976d2fe5245 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i8k: Return -ENODATA for invalid temperature (diff) | |
download | linux-dev-564132d9d62b3151dc6573da794378b5bf0cea17.tar.xz linux-dev-564132d9d62b3151dc6573da794378b5bf0cea17.zip |
i8k: Rework error retries
Instead of returning a previous value if the SMM code returns
an error when trying to read a temperature, retry once.
If that fails again, return -ENODATA. Also return -ENODATA if an
attempt is made to read the GPU temperature but the GPU is
currently turned off.
Drop the I8K_TEMPERATURE_BUG definition and handle the related bug
unconditionally.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions