projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f43d9e9
)
clk: ti: improve debug messages for clkctrl driver
author
Dario Binacchi
<dariobin@libero.it>
Sat, 13 Feb 2021 11:02:30 +0000
(12:02 +0100)
committer
Lokesh Vutla
<lokeshvutla@ti.com>
Mon, 22 Feb 2021 06:09:48 +0000
(11:39 +0530)
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>
drivers/clk/ti/clk-ctrl.c
patch
|
blob
|
history
diff --git
a/drivers/clk/ti/clk-ctrl.c
b/drivers/clk/ti/clk-ctrl.c
index
3c6195b
..
8ac085e
100644
(file)
--- 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;
}