Skip to content

Commit 33b52f7

Browse files
committed
Merge tag 'sunxi-clk-for-5.8-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux into clk-allwinner
Pull an Allwinner clk driver fix from Maxime Ripard: - a single minor rounding fix for the legacy Allwinner clock support * tag 'sunxi-clk-for-5.8-1' of https://git.kernel.org/pub/scm/linux/kernel/git/sunxi/linux: clk: sunxi: Fix incorrect usage of round_down()
2 parents 8f3d9f3 + ee25d97 commit 33b52f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi/clk-sunxi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ static void sun6i_a31_get_pll1_factors(struct factors_request *req)
9090
* Round down the frequency to the closest multiple of either
9191
* 6 or 16
9292
*/
93-
u32 round_freq_6 = round_down(freq_mhz, 6);
93+
u32 round_freq_6 = rounddown(freq_mhz, 6);
9494
u32 round_freq_16 = round_down(freq_mhz, 16);
9595

9696
if (round_freq_6 > round_freq_16)

0 commit comments

Comments
 (0)