summaryrefslogtreecommitdiff
path: root/drivers/regulator
diff options
context:
space:
mode:
authorBiju Das <biju.das.jz@bp.renesas.com>2023-08-18 17:18:13 +0300
committerMark Brown <broonie@kernel.org>2023-08-18 18:21:43 +0300
commit5c1212a67e5838aca49707ef96be71612a72ab43 (patch)
tree0d010d795d54261e1dac6cc69f194311b19fd0fa /drivers/regulator
parent727d7c1c3695657873d62030b968ba97c8698c54 (diff)
downloadlinux-5c1212a67e5838aca49707ef96be71612a72ab43.tar.xz
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/raa215300.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/raa215300.c b/drivers/regulator/raa215300.c
index bdbf1e4ce468..0628ed3d0a93 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);