Skip to content
Snippets Groups Projects
Commit a44908d7 authored by Jean Delvare's avatar Jean Delvare
Browse files

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: default avatarJean Delvare <khali@linux-fr.org>
Tested-by: default avatarAndre Prendel <andre.prendel@gmx.de>
Cc: stable@kernel.org
parent 8d59582a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment