[PATCH 31/32] x86: pinctrl: Silence the warning when a pin is not found

Simon Glass sjg at chromium.org
Mon Sep 28 06:26:10 CEST 2020


This does not necessarily indicate a problem, since some pins are
optional. Let the caller show an error if necessary.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 drivers/pinctrl/intel/pinctrl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/intel/pinctrl.c b/drivers/pinctrl/intel/pinctrl.c
index ba21c9dcc2e..e3d24646344 100644
--- a/drivers/pinctrl/intel/pinctrl.c
+++ b/drivers/pinctrl/intel/pinctrl.c
@@ -154,7 +154,7 @@ static int pinctrl_get_device(uint pad, struct udevice **devp)
 			return 0;
 		}
 	}
-	printf("pad %d not found\n", pad);
+	log_debug("pad %d not found\n", pad);
 
 	return -ENOTBLK;
 }
-- 
2.28.0.681.g6f77f65b4e-goog



More information about the U-Boot mailing list