Skip to content

Commit 5c1212a

Browse files
bijudasbroonie
authored andcommitted
regulator: raa215300: Change rate from 32000->32768
Replace the rate 32000->32768 in devm_clk_hw_register_fixed_rate() as the 32kHz frequency mentioned in the hardware manual is actually 32.768kHz. Reported-by: Pavel Machek <pavel@denx.de> Closes: https://lore.kernel.org/all/ZN3%2FSjL50ls+3dnD@duo.ucw.cz/ Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com> Link: https://lore.kernel.org/r/20230818141815.314197-2-biju.das.jz@bp.renesas.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 727d7c1 commit 5c1212a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/raa215300.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ static int raa215300_i2c_probe(struct i2c_client *client)
127127
struct clk_hw *hw;
128128
ssize_t size;
129129

130-
hw = devm_clk_hw_register_fixed_rate(dev, clk_name, NULL, 0, 32000);
130+
hw = devm_clk_hw_register_fixed_rate(dev, clk_name, NULL, 0, 32768);
131131
if (IS_ERR(hw))
132132
return PTR_ERR(hw);
133133

0 commit comments

Comments
 (0)