linux-stable/drivers/thermal/qcom
Amit Kucheria d04c6d5e11 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:52 +02:00
..
Kconfig
Makefile thermal: qcom: tsens-8996: Add support for 8996 family of SoCs 2016-09-27 14:02:16 +08: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-8996.c thermal: qcom: remove declare local symbols as static 2016-09-27 14:02:16 +08:00
tsens-common.c thermal: qcom: tsens: Fix return value check in init_common() 2016-09-27 14:02:16 +08:00
tsens.c drivers: thermal: tsens: Don't print error message on -EPROBE_DEFER 2019-06-15 11:54:52 +02:00
tsens.h thermal: streamline get_trend callbacks 2016-09-27 14:02:16 +08:00