Skip to content

Commit eb20a8b

Browse files
committed
clk: at91: sam9x60: support only two programmable clocks
According to datasheet (Chapter 29.16.13, PMC Programmable Clock Register) there are only two programmable clocks on SAM9X60. Fixes: 01e2113 ("clk: at91: add sam9x60 pmc driver") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Link: https://lore.kernel.org/r/1602686072-28296-1-git-send-email-claudiu.beznea@microchip.com Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org>
1 parent 5b2667a commit eb20a8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/clk/at91/sam9x60.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ static void __init sam9x60_pmc_setup(struct device_node *np)
248248
parent_names[3] = "masterck";
249249
parent_names[4] = "pllack";
250250
parent_names[5] = "upllck";
251-
for (i = 0; i < 8; i++) {
251+
for (i = 0; i < 2; i++) {
252252
char name[6];
253253

254254
snprintf(name, sizeof(name), "prog%d", i);

0 commit comments

Comments
 (0)