Skip to content

Commit a00655d

Browse files
seebegeertu
authored andcommitted
clk: renesas: rzg2l: Fix intin variable size
INTIN is a 12-bit register value, so u8 is too small. Fixes: 1561380 ("clk: renesas: rzg2l: Add FOUTPOSTDIV clk support") Cc: stable@vger.kernel.org Reported-by: Hugo Villeneuve <hugo@hugovil.com> Closes: https://lore.kernel.org/20251107113058.f334957151d1a8dd94dd740b@hugovil.com Signed-off-by: Chris Brandt <chris.brandt@renesas.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Link: https://patch.msgid.link/20251114193711.3277912-1-chris.brandt@renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
1 parent 8f0b4cc commit a00655d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/renesas/rzg2l-cpg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ struct div_hw_data {
122122

123123
struct rzg2l_pll5_param {
124124
u32 pl5_fracin;
125+
u16 pl5_intin;
125126
u8 pl5_refdiv;
126-
u8 pl5_intin;
127127
u8 pl5_postdiv1;
128128
u8 pl5_postdiv2;
129129
u8 pl5_spread;

0 commit comments

Comments
 (0)