From: Suman Anna Date: Mon, 25 Jan 2021 04:51:37 +0000 (-0800) Subject: soc: ti: pruss: Correct the pruss_clk_init error trace text X-Git-Tag: v5.15~1796^2~10^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f97a8a34353e993f7dc2c204faaa033955907bdc;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Santosh Shilimkar --- diff --git a/drivers/soc/ti/pruss.c b/drivers/soc/ti/pruss.c index 5d6e713..1d68901 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; }