]> Git Repo - J-u-boot.git/commitdiff
x86: pinctrl: Update comment for intel_pinctrl_get_pad()
authorSimon Glass <[email protected]>
Wed, 8 Jul 2020 03:32:20 +0000 (21:32 -0600)
committerBin Meng <[email protected]>
Fri, 17 Jul 2020 06:32:24 +0000 (14:32 +0800)
Add information about what is returned on error.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
arch/x86/include/asm/intel_pinctrl.h

index b5564b9ee1190a75145bdf69567059662ee33710..a6a9edd0d4d64a2353c979fb190810cd25347d27 100644 (file)
@@ -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);
 
This page took 0.033067 seconds and 4 git commands to generate.