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 <[email protected]> Closes: https://lore.kernel.org/all/ZN3%[email protected]/ Signed-off-by: Biju Das <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
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)