summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@kernel.org>2024-12-03 22:57:36 +0200
committerTom Rini <trini@konsulko.com>2024-12-18 18:58:59 -0600
commit6f99dc241d64387dc1292700da5ef09d487d38d1 (patch)
tree6b14278262c05e1aa0b6fcd08bdcffb704fc5135
parent9c5399a73d813c28f2cc389b2ed1f9ea17d64d15 (diff)
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>
-rw-r--r--drivers/phy/phy-uclass.c2
1 files changed, 1 insertions, 1 deletions
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;
}
}