diff options
author | Matthias Kaehlcke <mka@chromium.org> | 2021-08-23 13:47:30 -0700 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2021-09-09 16:33:29 +0200 |
commit | 70ee251ded6ba24c15537f4abb8a318e233d0d1a (patch) | |
tree | 391647da7d1d5a73974608d79e9c1523dbc1bda3 /MAINTAINERS | |
parent | 5950fc44a57ace59f21dccfd792250019348a182 (diff) | |
download | linux-stable-70ee251ded6ba24c15537f4abb8a318e233d0d1a.tar.gz linux-stable-70ee251ded6ba24c15537f4abb8a318e233d0d1a.tar.bz2 linux-stable-70ee251ded6ba24c15537f4abb8a318e233d0d1a.zip |
thermal/drivers/qcom/spmi-adc-tm5: Don't abort probing if a sensor is not used
adc_tm5_register_tzd() registers the thermal zone sensors for all
channels of the thermal monitor. If the registration of one channel
fails the function skips the processing of the remaining channels
and returns an error, which results in _probe() being aborted.
One of the reasons the registration could fail is that none of the
thermal zones is using the channel/sensor, which hardly is a critical
error (if it is an error at all). If this case is detected emit a
warning and continue with processing the remaining channels.
Fixes: ca66dca5eda6 ("thermal: qcom: add support for adc-tm5 PMIC thermal monitor")
Signed-off-by: Matthias Kaehlcke <mka@chromium.org>
Reported-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Stephen Boyd <swboyd@chromium.org>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210823134726.1.I1dd23ddf77e5b3568625d80d6827653af071ce19@changeid
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions