summaryrefslogtreecommitdiff
path: root/drivers/clk
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-02-13 12:02:30 +0100
committerLokesh Vutla <lokeshvutla@ti.com>2021-02-22 11:39:48 +0530
commitd242a14533742563a02ebb52925d0774695593ea (patch)
tree0d77e508998d30e136df82ca514d7dd29e06fcd7 /drivers/clk
parentf43d9e904db2c882dbd824b7bcd5f0502b3dc7ab (diff)
clk: ti: improve debug messages for clkctrl driver
The previous version printed the same debug message for both the enable and disable routines without highlighting whether you were enabling or disabling the module. It is now clear whether you are enabling or disabling the module. Signed-off-by: Dario Binacchi <dariobin@libero.it>
Diffstat (limited to 'drivers/clk')
-rw-r--r--drivers/clk/ti/clk-ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/clk/ti/clk-ctrl.c b/drivers/clk/ti/clk-ctrl.c
index 3c6195b208..8ac085ee4f 100644
--- a/drivers/clk/ti/clk-ctrl.c
+++ b/drivers/clk/ti/clk-ctrl.c
@@ -49,7 +49,7 @@ static int clk_ti_ctrl_disable(struct clk *clk)
}
clk_modules[0] = (u32 *)(offs);
- dev_dbg(clk->dev, "module address=%p\n", clk_modules[0]);
+ dev_dbg(clk->dev, "disable module @ %p\n", clk_modules[0]);
do_disable_clocks(NULL, clk_modules, 1);
return 0;
}
@@ -69,7 +69,7 @@ static int clk_ti_ctrl_enable(struct clk *clk)
}
clk_modules[0] = (u32 *)(offs);
- dev_dbg(clk->dev, "module address=%p\n", clk_modules[0]);
+ dev_dbg(clk->dev, "enable module @ %p\n", clk_modules[0]);
do_enable_clocks(NULL, clk_modules, 1);
return 0;
}