diff options
author | Henrique de Moraes Holschuh <hmh@hmh.eng.br> | 2007-07-18 23:45:45 -0300 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2007-07-21 23:49:55 -0400 |
commit | a8fba3da3d11d808137be7ebeb3b6938a42f011f (patch) | |
tree | caf34342b50fcd152625655e785d78c982151ad1 /Documentation | |
parent | edf0e0e56904f794c97ca6c4562d8256e3d8d8e3 (diff) |
ACPI: thinkpad-acpi: make sure DSDT TMPx readings don't return +128
We get +128 instead of -128 from the DSDT TMPx methods, due to errors when
converting a EC byte return that is a s8 to an ACPI handler return that is
an int.
Fix it once and for all, by clamping acceptable temperature readings from
DSDT TMPx so that anything outside the [-127,+127] range is converted to
TP_EC_THERMAL_TMP_NA (-128).
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Michael Olbrich <michael.olbrich@gmx.net>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions