]> Gentwo Git Trees - linux/.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)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 16 May 2025 10:50:01 +0000 (12:50 +0200)
commite3f90f167a49902cda2408f7e91cca0dcfd5040a
treeaa5388a22a26d12097116eaf5d95f2dcd7ee952e
parent77c6d28192ef59ae62fa05ae6697990d2366e88d
thermal/drivers/qcom/tsens: Update conditions to strictly evaluate for IP v2+

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>
drivers/thermal/qcom/tsens.c