projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a4b0d5
)
net: ti: am65-cpsw-nuss: Fix err msg for port bind failures
author
Vignesh Raghavendra
<vigneshr@ti.com>
Fri, 21 Jan 2022 07:17:51 +0000
(12:47 +0530)
committer
Tom Rini
<trini@konsulko.com>
Fri, 28 Jan 2022 22:58:41 +0000
(17:58 -0500)
Replace error case print with meaning full message.
Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
drivers/net/ti/am65-cpsw-nuss.c
patch
|
blob
|
history
diff --git
a/drivers/net/ti/am65-cpsw-nuss.c
b/drivers/net/ti/am65-cpsw-nuss.c
index
6ae69b5
..
454986f
100644
(file)
--- a/
drivers/net/ti/am65-cpsw-nuss.c
+++ b/
drivers/net/ti/am65-cpsw-nuss.c
@@
-752,7
+752,7
@@
static int am65_cpsw_probe_nuss(struct udevice *dev)
ret = device_bind_driver_to_node(dev, "am65_cpsw_nuss_port", ofnode_get_name(node), node, &port_dev);
if (ret)
-
printf("SCREEEM\n"
);
+
dev_err(dev, "Failed to bind to %s node\n", ofnode_get_name(node)
);
}
for (i = 0; i < AM65_CPSW_CPSWNU_MAX_PORTS; i++) {