Skip to content

Commit 693bb3d

Browse files
Boris BREZILLONMike Turquette
authored andcommitted
clk: at91: propagate rate change on system clks
System clks are just gates, and thus do not provide any rate operations. Authorize clk rate change to be propagated to system clk parents. Signed-off-by: Boris BREZILLON <b.brezillon@overkiz.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
1 parent 419f612 commit 693bb3d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ at91_clk_register_system(struct at91_pmc *pmc, const char *name,
8484
* (see drivers/memory) which would request and enable the ddrck clock.
8585
* When this is done we will be able to remove CLK_IGNORE_UNUSED flag.
8686
*/
87-
init.flags = CLK_IGNORE_UNUSED;
87+
init.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED;
8888

8989
sys->id = id;
9090
sys->hw.init = &init;

0 commit comments

Comments
 (0)