]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: pinctrl: Silence the warning when a pin is not found
authorSimon Glass <sjg@chromium.org>
Wed, 4 Nov 2020 16:57:42 +0000 (09:57 -0700)
committerBin 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

index ba21c9dcc2e9d203a263a9c2f8a200f794f46c9c..e3d246463441f3753a6383d6ace1e201ae6f37e2 100644 (file)
@@ -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;
 }