Commit d242a145 authored by Dario Binacchi's avatar Dario Binacchi Committed by Lokesh Vutla
Browse files

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: default avatarDario Binacchi <dariobin@libero.it>
parent f43d9e90
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment