Skip to content
Commit 7b2fd270 authored by Amy Shih's avatar Amy Shih Committed by Guenter Roeck
Browse files

hwmon: (nct7904) Fix incorrect range of temperature limit registers



The format of temperature limitation registers are 8-bit 2's complement
and the range is -128~127.
Converts the reading value to signed char to fix the incorrect range
of temperature limitation registers.

Signed-off-by: default avatarAmy Shih <amy.shih@advantech.com.tw>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 6d44e43f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment