26 Jan, 2015
1 commit
-
data->temp[index] has type s16. Because of C's promotion rules,
(data->temp[index] << 7) >> 7 is exactly the same as
data->temp[index]. The intention was to use bit 8 as a sign bit, so do
that using the existing API.Signed-off-by: Rasmus Villemoes
Signed-off-by: Guenter Roeck
08 Jul, 2014
1 commit
-
Writes into input registers doesn't make sense, even more so since
the writes actually ended up writing into the maximum limit registers.
Drop it.Cc: stable@vger.kernel.org
Reviewed-by: Jean Delvare
Signed-off-by: Guenter Roeck
04 Mar, 2014
1 commit
-
ADC128D818 is a System Monitor with Temperature Sensor. It is similar to LM80
and LM96080, but has 16 bit wide sensor registers and no fan speed monitoring.Signed-off-by: Guenter Roeck