projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98bf740
)
x86: pinctrl: Silence the warning when a pin is not found
author
Simon Glass
<sjg@chromium.org>
Wed, 4 Nov 2020 16:57:42 +0000
(09:57 -0700)
committer
Bin Meng
<bmeng.cn@gmail.com>
Fri, 6 Nov 2020 01:51:33 +0000
(09:51 +0800)
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>
drivers/pinctrl/intel/pinctrl.c
patch
|
blob
|
history
diff --git
a/drivers/pinctrl/intel/pinctrl.c
b/drivers/pinctrl/intel/pinctrl.c
index
ba21c9d
..
e3d2464
100644
(file)
--- 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;
}