diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2018-01-16 15:50:34 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-03-17 02:29:01 +0300 |
commit | ab525dcccfd6ad11a0313fd58222b72cee4ca7ad (patch) | |
tree | b6d22e8547930c694c5c5203f611cebcaf5bca53 /drivers/clk/clk-stm32h7.c | |
parent | 7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff) | |
download | linux-ab525dcccfd6ad11a0313fd58222b72cee4ca7ad.tar.xz |
clk: Print the clock name and warning cause
When getting the clock related warnings, it is useful to know what
is the clock name that is causing the problem and the cause of the
problem.
Add the clock name and the the warning cause to the log, so that the
output becomes clearer like this:
[ 2.383969] ------------[ cut here ]------------
[ 2.388720] WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:814 clk_core_disable+0xd4/0xf8
[ 2.396658] uart4_ipg_gate already disabled
Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-stm32h7.c')
0 files changed, 0 insertions, 0 deletions