Skip to content

Commit b736bcb

Browse files
alexandrebellonimripard
authored andcommitted
clk: at91: remove the useless CLK_IGNORE_UNUSED flag
The CLK_IGNORE_UNUSED flag was added on all the system clocks because of the ddrck. Now that it is handled by the ram controller driver, we can drop it. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
1 parent 63e6036 commit b736bcb

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

‎drivers/clk/at91/clk-system.c‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,7 @@ at91_clk_register_system(struct at91_pmc *pmc, const char *name,
119119
init.ops = &system_ops;
120120
init.parent_names = &parent_name;
121121
init.num_parents = 1;
122-
/*
123-
* CLK_IGNORE_UNUSED is used to avoid ddrck switch off.
124-
* TODO : we should implement a driver supporting at91 ddr controller
125-
* (see drivers/memory) which would request and enable the ddrck clock.
126-
* When this is done we will be able to remove CLK_IGNORE_UNUSED flag.
127-
*/
128-
init.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED;
122+
init.flags = CLK_SET_RATE_PARENT;
129123

130124
sys->id = id;
131125
sys->hw.init = &init;

0 commit comments

Comments
 (0)