Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hwmon: (w83627ehf) Fix negative 8-bit temperature values
Since 8-bit temperature values are now handled in 16-bit struct members, values have to be cast to s8 for negative temperatures to be properly handled. This is broken since kernel version 2.6.39 (commit bce26c5.) Signed-off-by: Jean Delvare <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: [email protected] # 2.6.39+ Signed-off-by: Guenter Roeck <[email protected]>
- Loading branch information