hwmon: (tmp421) Fix temperature conversions
commit a44908d7 upstream. The low bits of temperature registers are status bits, they must be masked out before converting the register values to temperatures. Signed-off-by:Jean Delvare <khali@linux-fr.org> Tested-by:
Andre Prendel <andre.prendel@gmx.de> Signed-off-by:
Greg Kroah-Hartman <gregkh@suse.de>
Showing
Please register or sign in to comment