Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Suman Anna and committed by
Santosh Shilimkar
f97a8a34 17ad4662

+1 -1
+1 -1
drivers/soc/ti/pruss.c
··· 273 273 274 274 ret = pruss_clk_init(pruss, child); 275 275 if (ret) { 276 - dev_err(dev, "failed to setup coreclk-mux\n"); 276 + dev_err(dev, "pruss_clk_init failed, ret = %d\n", ret); 277 277 goto node_put; 278 278 } 279 279