summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2021-01-24 20:51:37 -0800
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>2021-01-24 20:51:37 -0800
commitf97a8a34353e993f7dc2c204faaa033955907bdc (patch)
tree5acc2f57fc817fd4ab75251364a66cade983a65b /drivers
parent17ad4662595ea0c4fd7496b664523ef632e63349 (diff)
soc: ti: pruss: Correct the pruss_clk_init error trace text
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> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/soc/ti/pruss.c2
1 files changed, 1 insertions, 1 deletions
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;
}