]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: renesas: rzg2l: Update error message
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 11 Feb 2025 10:56:02 +0000 (10:56 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 18 Feb 2025 09:34:08 +0000 (10:34 +0100)
commita08903f0b0020cacf60b29d4708d7ebec5b041a4
tree7696ea789884bfb4aa40e5b83afe17dd00e00226
parent5a1cb35ba37ada76ae486fbac7b249322dd1a5c3
clk: renesas: rzg2l: Update error message

Update the error message in `rzg2l_mod_clock_endisable()` to provide
clearer debugging information. Instead of printing only the register
address, include both the `CLK_ON_R(reg)` offset and the corresponding
`clk` name (`%pC`). This enhances readability and aids in debugging
clock enable failures.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250211105603.195905-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/rzg2l-cpg.c