WSL2-Linux-Kernel/drivers/thermal/qcom
Amit Kucheria 344fa0bad6 drivers: thermal: tsens: Work with old DTBs
In order for the old DTBs to continue working, the new interrupt code
must not return an error if interrupts are not defined. Don't return an
error in case of -ENXIO.

Fixes: 634e11d5b4 ("drivers: thermal: tsens: Add interrupt support")
Suggested-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Tested-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/cea3317c5d793db312064d68b261ad420a4a81b1.1576146898.git.amit.kucheria@linaro.org
2020-01-07 08:22:35 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
qcom-spmi-temp-alarm.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 284 2019-06-05 17:36:37 +02:00
tsens-8960.c drivers: thermal: tsens: Get rid of id field in tsens_sensor 2019-11-07 07:00:26 +01:00
tsens-common.c drivers: thermal: tsens: fix potential integer overflow on multiply 2019-11-07 07:00:26 +01:00
tsens-v0_1.c drivers: thermal: tsens: Add interrupt support 2019-11-07 07:00:26 +01:00
tsens-v1.c thermal: qcom: tsens-v1: Fix kfree of a non-pointer value 2019-11-07 07:00:26 +01:00
tsens-v2.c drivers: thermal: tsens: Add interrupt support 2019-11-07 07:00:26 +01:00
tsens.c drivers: thermal: tsens: Work with old DTBs 2020-01-07 08:22:35 +01:00
tsens.h thermal: qcom: tsens-v1: Add support for MSM8956 and MSM8976 2019-11-07 07:00:26 +01:00