linux-stable/drivers/thermal/qcom
Ansuel Smith cf96921876 thermal/drivers/tsens: Fix wrong check for tzd in irq handlers
Some devices can have some thermal sensors disabled from the
factory. The current two irq handler functions check all the sensor by
default and the check if the sensor was actually registered is
wrong. The tzd is actually never set if the registration fails hence
the IS_ERR check is wrong.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Matthias Kaehlcke <mka@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210907212543.20220-1-ansuelsmth@gmail.com
2021-09-21 15:17:11 +02:00
..
Kconfig thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
lmh.c thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
Makefile thermal/drivers/qcom: Add support for LMh driver 2021-08-18 09:32:25 +02:00
qcom-spmi-adc-tm5.c thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used 2021-09-09 16:33:29 +02:00
qcom-spmi-temp-alarm.c thermal/drivers/qcom-spmi-temp-alarm: Add support for GEN2 rev 1 PMIC peripherals 2021-04-15 13:21:42 +02:00
tsens-8960.c thermal/drivers/tsens: Drop unused define for msm8960 2021-04-22 14:10:08 +02:00
tsens-v0_1.c thermal/drivers/qcom/tsens-v0_1: Add support for MDM9607 2021-04-20 08:58:42 +02:00
tsens-v1.c thermal/drivers/qcom/tsens_v1: Enable sensor 3 on MSM8976 2021-03-17 20:08:30 +01:00
tsens-v2.c drivers: thermal: tsens: Add watchdog support 2020-03-20 12:17:48 +01:00
tsens.c thermal/drivers/tsens: Fix wrong check for tzd in irq handlers 2021-09-21 15:17:11 +02:00
tsens.h thermal/drivers/tsens: Add VER_0 tsens version 2021-04-22 14:09:14 +02:00