summaryrefslogtreecommitdiffstats
path: root/drivers/serial/jsm/jsm.h
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-03-05 22:17:25 +0100
committerJean Delvare <khali@linux-fr.org>2010-03-05 22:17:25 +0100
commita44908d742a577fb5ccb9a8c082326d4cea234c2 (patch)
tree098a62ddb96853c7e66fb58b67f5f163b8d3d401 /drivers/serial/jsm/jsm.h
parent8d59582a867470a3e0c3eced4a01625ae8dc546b (diff)
downloadlinux-a44908d742a577fb5ccb9a8c082326d4cea234c2.tar.gz
linux-a44908d742a577fb5ccb9a8c082326d4cea234c2.tar.bz2
linux-a44908d742a577fb5ccb9a8c082326d4cea234c2.zip
hwmon: (tmp421) Fix temperature conversions
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> Cc: stable@kernel.org
Diffstat (limited to 'drivers/serial/jsm/jsm.h')
0 files changed, 0 insertions, 0 deletions