]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: renesas: rzv2h: Update error message
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 11 Feb 2025 10:56:03 +0000 (10:56 +0000)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 18 Feb 2025 09:34:14 +0000 (10:34 +0100)
commit43961f7ee3f31c97209157bd19420ea8a65b1181
tree1d754f0f16a66b816d46815fc50d7919a9341bf3
parenta08903f0b0020cacf60b29d4708d7ebec5b041a4
clk: renesas: rzv2h: Update error message

Update the error message in `rzv2h_mod_clock_endisable()` to provide
clearer debugging information. Instead of printing only the register
address, include both the `GET_CLK_ON_OFFSET(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-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
drivers/clk/renesas/rzv2h-cpg.c