summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-11-04 09:57:42 -0700
committerBin Meng <bmeng.cn@gmail.com>2020-11-06 09:51:33 +0800
commitdd27cd6dab40765797962df500bda8eab6e665f5 (patch)
tree2ba20bfeb8d3a58cae688b71d603c4fd9f15fe34
parent98bf740e7f690951acf672486d57587e21237da8 (diff)
downloadu-boot-dd27cd6dab40765797962df500bda8eab6e665f5.tar.gz
u-boot-dd27cd6dab40765797962df500bda8eab6e665f5.tar.bz2
u-boot-dd27cd6dab40765797962df500bda8eab6e665f5.zip
x86: pinctrl: Silence the warning when a pin is not found
This does not necessarily indicate a problem, since some pins are optional. Let the caller show an error if necessary. Reviewed-by: Bin Meng <bmeng.cn@gmail.com> Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--drivers/pinctrl/intel/pinctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/intel/pinctrl.c b/drivers/pinctrl/intel/pinctrl.c
index ba21c9dcc2..e3d2464634 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;
}