mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 05:44:11 +00:00
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>
This commit is contained in:
parent
727d7c1c36
commit
5c1212a67e
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue