Skip to content

Commit fe686ba

Browse files
Philipp Tomsichmripard
authored andcommitted
clk: sunxi-ng: Fix div/mult settings for osc12M on A64
The mult/div for osc12M was previously backwards (giving a 48M rate for osc12M). Fix it. Signed-off-by: Philipp Tomsich <[email protected]> Tested-by: Christoph Muellner <[email protected]> Signed-off-by: Maxime Ripard <[email protected]>
1 parent 9ad0bb3 commit fe686ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/sunxi-ng/ccu-sun50i-a64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ static SUNXI_CCU_M_WITH_GATE(gpu_clk, "gpu", "pll-gpu",
566566
0x1a0, 0, 3, BIT(31), CLK_SET_RATE_PARENT);
567567

568568
/* Fixed Factor clocks */
569-
static CLK_FIXED_FACTOR(osc12M_clk, "osc12M", "osc24M", 1, 2, 0);
569+
static CLK_FIXED_FACTOR(osc12M_clk, "osc12M", "osc24M", 2, 1, 0);
570570

571571
/* We hardcode the divider to 4 for now */
572572
static CLK_FIXED_FACTOR(pll_audio_clk, "pll-audio",

0 commit comments

Comments
 (0)