linux/drivers/thermal/qcom
Yang Yingliang 5d8db38ad7 thermal/drivers/qcom: Fix error code in adc_tm5_get_dt_channel_data()
Return -EINVAL when args is invalid instead of 'ret' which is set to
zero by a previous successful call to a function.

Fixes: ca66dca5ed ("thermal: qcom: add support for adc-tm5 PMIC thermal monitor")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210527092640.2070555-1-yangyingliang@huawei.com
2021-05-27 11:38:34 +02:00
..
Kconfig thermal: qcom: add support for adc-tm5 PMIC thermal monitor 2021-02-15 21:28:53 +01:00
Makefile thermal: qcom: add support for adc-tm5 PMIC thermal monitor 2021-02-15 21:28:53 +01:00
qcom-spmi-adc-tm5.c thermal/drivers/qcom: Fix error code in adc_tm5_get_dt_channel_data() 2021-05-27 11:38:34 +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: Add support for ipq8064-tsens 2021-04-22 14:10:17 +02:00
tsens.h thermal/drivers/tsens: Add VER_0 tsens version 2021-04-22 14:09:14 +02:00