* [PATCH] soc: ti: pruss: Correct the pruss_clk_init error trace text
@ 2021-01-09 0:20 Suman Anna
0 siblings, 0 replies; only message in thread
From: Suman Anna @ 2021-01-09 0:20 UTC (permalink / raw)
To: Santosh Shilimkar
Cc: linux-omap, linux-arm-kernel, linux-kernel, Suman Anna,
Grzegorz Jaszczyk
The pruss_clk_init() function can register more than one clock.
Correct the existing misleading error trace upon a failure within
this function.
Signed-off-by: Suman Anna <s-anna@ti.com>
---
drivers/soc/ti/pruss.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c
index 5d6e7132a5c4..1d6890134312 100644
--- a/drivers/soc/ti/pruss.c
+++ b/drivers/soc/ti/pruss.c
@@ -273,7 +273,7 @@ static int pruss_probe(struct platform_device *pdev)
ret = pruss_clk_init(pruss, child);
if (ret) {
- dev_err(dev, "failed to setup coreclk-mux\n");
+ dev_err(dev, "pruss_clk_init failed, ret = %d\n", ret);
goto node_put;
}
--
2.29.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-01-09 0:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09 0:20 [PATCH] soc: ti: pruss: Correct the pruss_clk_init error trace text Suman Anna
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).