Commit c56c1449 authored by Marcus Folkesson's avatar Marcus Folkesson Committed by Greg Kroah-Hartman
Browse files

thermal/drivers/imx8mm_thermal: Validate temperature range



[ Upstream commit d37edc73 ]

Check against the upper temperature limit (125 degrees C) before
consider the temperature valid.

Fixes: 5eed800a ("thermal: imx8mm: Add support for i.MX8MM thermal monitoring unit")
Signed-off-by: default avatarMarcus Folkesson <marcus.folkesson@gmail.com>
Reviewed-by: default avatarJacky Bai <ping.bai@nxp.com>
Link: https://lore.kernel.org/r/20221014073507.1594844-1-marcus.folkesson@gmail.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 86fa7bb4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment