Commit 5c1212a6 authored by Biju Das's avatar Biju Das Committed by Mark Brown

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: default avatarPavel Machek <pavel@denx.de>
Closes: https://lore.kernel.org/all/ZN3%2FSjL50ls+3dnD@duo.ucw.cz/Signed-off-by: default avatarBiju Das <biju.das.jz@bp.renesas.com>
Link: https://lore.kernel.org/r/20230818141815.314197-2-biju.das.jz@bp.renesas.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 727d7c1c
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment