From: Biju Das Date: Fri, 18 Aug 2023 14:18:13 +0000 (+0100) Subject: regulator: raa215300: Change rate from 32000->32768 X-Git-Tag: v6.6.7~1951^2~8^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c1212a67e5838aca49707ef96be71612a72ab43;p=platform%2Fkernel%2Flinux-starfive.git 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 Closes: https://lore.kernel.org/all/ZN3%2FSjL50ls+3dnD@duo.ucw.cz/ Signed-off-by: Biju Das Link: https://lore.kernel.org/r/20230818141815.314197-2-biju.das.jz@bp.renesas.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/raa215300.c b/drivers/regulator/raa215300.c index bdbf1e4c..0628ed3 100644 --- a/drivers/regulator/raa215300.c +++ b/drivers/regulator/raa215300.c @@ -127,7 +127,7 @@ static int raa215300_i2c_probe(struct i2c_client *client) struct clk_hw *hw; ssize_t size; - hw = devm_clk_hw_register_fixed_rate(dev, clk_name, NULL, 0, 32000); + hw = devm_clk_hw_register_fixed_rate(dev, clk_name, NULL, 0, 32768); if (IS_ERR(hw)) return PTR_ERR(hw);