linux-uconsole/drivers/thermal/qcom
Amit Kucheria 1196b79a20 drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER
[ Upstream commit fc7d18cf6a ]

We print a calibration failure message on -EPROBE_DEFER from
nvmem/qfprom as follows:
[    3.003090] qcom-tsens 4a9000.thermal-sensor: version: 1.4
[    3.005376] qcom-tsens 4a9000.thermal-sensor: tsens calibration failed
[    3.113248] qcom-tsens 4a9000.thermal-sensor: version: 1.4

This confuses people when, in fact, calibration succeeds later when
nvmem/qfprom device is available. Don't print this message on a
-EPROBE_DEFER.

Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-06-15 11:54:02 +02:00
..
Kconfig
Makefile thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse 2018-07-27 15:08:10 -07:00
tsens-8916.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-8960.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-8974.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-common.c thermal: tsens: switch from of_iomap() to devm_ioremap_resource() 2018-07-27 15:15:57 -07:00
tsens-v2.c thermal: tsens: Fix negative temperature reporting 2018-07-27 15:16:55 -07:00
tsens.c drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER 2019-06-15 11:54:02 +02:00
tsens.h thermal: tsens: Add generic support for TSENS v2 IP 2018-07-27 15:09:28 -07:00