diff --git a/drivers/hwmon/qpnp-adc-voltage.c b/drivers/hwmon/qpnp-adc-voltage.c index e7a75895280d..fa232a64f195 100644 --- a/drivers/hwmon/qpnp-adc-voltage.c +++ b/drivers/hwmon/qpnp-adc-voltage.c @@ -2227,7 +2227,10 @@ static int qpnp_vadc_get_temp(struct thermal_zone_device *thermal, rc = qpnp_vadc_read(vadc, vadc_therm->vadc_channel, &result); - if (rc) { + if (rc == -EPROBE_DEFER) { + pr_info("Probing VADC\n"); + return rc; + } else if (rc) { pr_err("VADC read error with %d\n", rc); return rc; } diff --git a/drivers/hwmon/sec_thermistor.c b/drivers/hwmon/sec_thermistor.c index e111b60ea137..a720a278a650 100644 --- a/drivers/hwmon/sec_thermistor.c +++ b/drivers/hwmon/sec_thermistor.c @@ -329,7 +329,11 @@ static int sec_therm_probe(struct platform_device *pdev) if (IS_ERR(info->vadc_dev)) { ret = PTR_ERR(info->vadc_dev); - pr_err("%s: ret(%d)\n", __func__, ret); + if (ret == -EPROBE_DEFER) + pr_info("%s: Probing VADC\n", __func__); + else + pr_err("%s: ret(%d)\n", __func__, ret); + if (ret != -EPROBE_DEFER) pr_err("vadc property missing\n"); else