thermal/drivers/qoriq: Only enable supported sensors
commit bb01ca826b3632ba1546f1e2c38fd0e7ea7e5452 from https://github.com/nxp-auto-linux/linux There are MAX 16 sensors, but not all of them supported. Such as i.MX8MQ, there are only 3 sensors. Enabling all 16 sensors will touch reserved bits from i.MX8MQ reference mannual, and TMU will stuck, temperature will not update anymore. Issue: ALB-10433 Fixes: 45038e03 ("thermal: qoriq: Enable all sensors before registering them") Signed-off-by: Peng Fan <peng.fan@nxp.com> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20230516083746.63436-3-peng.fan@oss.nxp.com Signed-off-by: Zhantao Tang <zhantao.tang@windriver.com>
Please register or sign in to comment