Home
last modified time | relevance | path

Searched hist:a6282d170339f86e05fd24bdf3104ca644a4b3a4 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/hwmon/
H A Dltc2990.cdiff a6282d170339f86e05fd24bdf3104ca644a4b3a4 Sun Jul 02 23:28:58 CDT 2017 Tom Levens <tom.levens@cern.ch> hwmon: (ltc2990) Fix incorrect conversion of negative temperatures

Fix incorrect conversion of negative temperatures by using
sign_extend32() instead of a home-grown conversion function.

Fixes: df922703574e ("hwmon: Add LTC2990 sensor driver")
Signed-off-by: Tom Levens <tom.levens@cern.ch>
[groeck: Updated subject and description]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>