Commit b3a37993 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Vinod Koul

phy: phy-rockchip-inno-usb2: improve error message

Printing the OF node is not useful, since we get the same information
from the device context. Instead print the reg address, that could
not be found.
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Link: https://lore.kernel.org/r/20230522170324.61349-8-sebastian.reichel@collabora.comSigned-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 89e1570a
...@@ -1377,8 +1377,7 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev) ...@@ -1377,8 +1377,7 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev)
} while (phy_cfgs[index].reg); } while (phy_cfgs[index].reg);
if (!rphy->phy_cfg) { if (!rphy->phy_cfg) {
dev_err(dev, "no phy-config can be matched with %pOFn node\n", dev_err(dev, "could not find phy config for reg=0x%08x\n", reg);
np);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment