diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2025-02-22 17:20:07 +0300 |
---|---|---|
committer | Geert Uytterhoeven <geert+renesas@glider.be> | 2025-03-06 18:38:19 +0300 |
commit | 69ac2acd209a15bd7a61a15c9532a5b505252e1c (patch) | |
tree | e2bc1a7136d6599ef440b49b87961dd11d126b07 /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c | |
parent | 5288fe0e2e9d2c147e18c5ce4d03d17f34132dde (diff) | |
download | linux-69ac2acd209a15bd7a61a15c9532a5b505252e1c.tar.xz |
clk: renesas: rzv2h: Adjust for CPG_BUS_m_MSTOP starting from m = 1
Avoid using the "- 1" for finding mstop_index in all functions accessing
priv->mstop_count, by adjusting its pointer in rzv2h_cpg_probe().
While at it, drop the intermediate local variable index.
Reported-by: Geert Uytterhoeven <geert+renesas@glider.be>
Closes: https://lore.kernel.org/all/CAMuHMdX1gPNCFddg_DyK7Bv0BeFLOLi=5eteT_HhMH=Ph2wVvA@mail.gmail.com/
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/20250222142009.41324-1-biju.das.jz@bp.renesas.com
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions