]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
thermal/drivers/qcom/tsens: Update conditions to strictly evaluate for IP v2+
authorGeorge Moussalem <george.moussalem@outlook.com>
Fri, 28 Feb 2025 05:11:36 +0000 (09:11 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:05:30 +0000 (11:05 +0100)
commitca41c10be5697cf4726515c4c31009973d152ed9
treebdc06bf36fae24418e16135c00630be8a84febe4
parent9a317e436265e2c652514a00b475749d2d613d0f
thermal/drivers/qcom/tsens: Update conditions to strictly evaluate for IP v2+

[ Upstream commit e3f90f167a49902cda2408f7e91cca0dcfd5040a ]

TSENS v2.0+ leverage features not available to prior versions such as
updated interrupts init routine, masked interrupts, and watchdog.
Currently, the checks in place evaluate whether the IP version is greater
than v1 which invalidates when updates to v1 or v1 minor versions are
implemented. As such, update the conditional statements to strictly
evaluate whether the version is greater than or equal to v2 (inclusive).

Signed-off-by: George Moussalem <george.moussalem@outlook.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Amit Kucheria <amitk@kernel.org>
Link: https://lore.kernel.org/r/DS7PR19MB8883434CAA053648E22AA8AC9DCC2@DS7PR19MB8883.namprd19.prod.outlook.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/qcom/tsens.c