From: Roger Quadros Date: Tue, 3 Dec 2024 20:57:36 +0000 (+0200) Subject: phy: don't spam console if phys property is absent in device node X-Git-Tag: v2025.04-rc1~17^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f99dc241d64387dc1292700da5ef09d487d38d1;p=pandora-u-boot.git 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 Reviewed-by: Siddharth Vadapalli --- diff --git a/drivers/phy/phy-uclass.c b/drivers/phy/phy-uclass.c index 777d952b041..714be123856 100644 --- a/drivers/phy/phy-uclass.c +++ b/drivers/phy/phy-uclass.c @@ -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; } }