mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 05:08:24 +00:00
phy: don't spam console if phys property is absent in device node
In generic_phy_get_bulk(), if 'phys' property is absent in the device node then it is not an error condition. Change print message verbosity to debug to avoid spamming console in such cases. Signed-off-by: Roger Quadros <rogerq@kernel.org> Reviewed-by: Siddharth Vadapalli <s-vadapalli@ti.com>
This commit is contained in:
parent
9c5399a73d
commit
6f99dc241d
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ int generic_phy_get_bulk(struct udevice *dev, struct phy_bulk *bulk)
|
|||
if (!dev_read_prop(dev, "phys", NULL)) {
|
||||
phydev = dev->parent;
|
||||
if (!dev_read_prop(phydev, "phys", NULL)) {
|
||||
pr_err("%s : no phys property\n", __func__);
|
||||
pr_debug("%s : no phys property\n", __func__);
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue