The adc class driver reads optional "vss-supply" and
"vdd-supply" properties. The SoC adc driver can parse
for vref, so reduce error notifications when not found.

Signed-off-by: Johan Jonker <jbx6...@gmail.com>
---
 drivers/adc/adc-uclass.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/adc/adc-uclass.c b/drivers/adc/adc-uclass.c
index e8ce638d..3dbdfa6f 100644
--- a/drivers/adc/adc-uclass.c
+++ b/drivers/adc/adc-uclass.c
@@ -446,12 +446,12 @@ static int adc_pre_probe(struct udevice *dev)
        /* Set ADC VDD plat: polarity, uV, regulator (phandle). */
        ret = adc_vdd_plat_set(dev);
        if (ret)
-               pr_err("%s: Can't update Vdd. Error: %d", dev->name, ret);
+               pr_debug("%s: Can't update Vdd: %d", dev->name, ret);
 
        /* Set ADC VSS plat: polarity, uV, regulator (phandle). */
        ret = adc_vss_plat_set(dev);
        if (ret)
-               pr_err("%s: Can't update Vss. Error: %d", dev->name, ret);
+               pr_debug("%s: Can't update Vss: %d", dev->name, ret);
 
        return 0;
 }
-- 
2.20.1

Reply via email to