Files
linux-stable-mirror/drivers
Viorel SumanandGreg Kroah-Hartman d9fedfdf2d thermal/drivers/imx_sc_thermal: Fix the loop condition
[ Upstream commit 4b26b7c9cd ]

The minimal resource ID is 0: IMX_SC_R_AP_0=0, so fix
the loop condition. Aside of this - constify the array.

Fixes: 31fd4b9db1 ("thermal/drivers/imx_sc: Rely on the platform data to get the resource id")
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
Reviewed-by: Dong Aisheng <Aisheng.dong@nxp.com>
Link: https://lore.kernel.org/r/20230117091956.61729-1-viorel.suman@oss.nxp.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-03-10 09:32:55 +01:00
..
2023-02-22 12:59:50 +01:00
2023-03-03 11:52:21 +01:00
2023-02-09 11:28:25 +01:00