Skip to content
Commit 968ea0df authored by Anson Huang's avatar Anson Huang Committed by Daniel Lezcano
Browse files

thermal: imx_sc_thermal: Fix incorrect data type



The temperature value passed from SCU could be negative value,
the data type should be signed instead of unsigned.

Fixes: e20db70d ("thermal: imx_sc: add i.MX system controller thermal support")
Signed-off-by: default avatarAnson Huang <Anson.Huang@nxp.com>
Reviewed-by: default avatarAmit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/1584606380-9972-1-git-send-email-Anson.Huang@nxp.com
parent f21431f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment