diff options
author | Guenter Roeck <linux@roeck-us.net> | 2015-01-12 14:32:00 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-01-25 09:17:58 -0800 |
commit | 564132d9d62b3151dc6573da794378b5bf0cea17 (patch) | |
tree | bfecf5fc4a7f7a9ec0b698e2d8f54976d2fe5245 /drivers/char/agp/intel-agp.h | |
parent | 83d514d76278e85cc74c472dd51687c8eb4faff0 (diff) | |
download | linux-564132d9d62b3151dc6573da794378b5bf0cea17.tar.bz2 |
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 'drivers/char/agp/intel-agp.h')
0 files changed, 0 insertions, 0 deletions