projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4916f45
)
x86: pinctrl: Update comment for intel_pinctrl_get_pad()
author
Simon Glass
<sjg@chromium.org>
Wed, 8 Jul 2020 03:32:20 +0000
(21:32 -0600)
committer
Bin Meng
<bmeng.cn@gmail.com>
Fri, 17 Jul 2020 06:32:24 +0000
(14:32 +0800)
Add information about what is returned on error.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/intel_pinctrl.h
patch
|
blob
|
history
diff --git
a/arch/x86/include/asm/intel_pinctrl.h
b/arch/x86/include/asm/intel_pinctrl.h
index
b5564b9
..
a6a9edd
100644
(file)
--- a/
arch/x86/include/asm/intel_pinctrl.h
+++ b/
arch/x86/include/asm/intel_pinctrl.h
@@
-300,6
+300,7
@@
u32 intel_pinctrl_get_config_reg(struct udevice *dev, uint offset);
* @pad: Pad to check
* @devp: Returns pinctrl device containing that pad
* @offsetp: Returns offset of pad within that pinctrl device
+ * @return 0 if OK, -ENOTBLK if pad number is invalid
*/
int intel_pinctrl_get_pad(uint pad, struct udevice **devp, uint *offsetp);