Skip to content

Commit 43b203d

Browse files
claudiubezneabebarino
authored andcommitted
clk: at91: sam9x60: fix usb clock parents
SAM9X60's USB clock has 3 parents: plla, upll and main_osc. Fixes: 01e2113 ("clk: at91: add sam9x60 pmc driver") Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lkml.kernel.org/r/[email protected] Acked-by: Alexandre Belloni <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
1 parent b0ecf1c commit 43b203d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/clk/at91/sam9x60.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,8 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
234234

235235
parent_names[0] = "pllack";
236236
parent_names[1] = "upllck";
237-
parent_names[2] = "mainck";
238-
parent_names[3] = "mainck";
239-
hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 4);
237+
parent_names[2] = "main_osc";
238+
hw = sam9x60_clk_register_usb(regmap, "usbck", parent_names, 3);
240239
if (IS_ERR(hw))
241240
goto err_free;
242241

0 commit comments

Comments
 (0)