Skip to content

Commit

Permalink
clk: at91: propagate rate change on system clks
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boris BREZILLON authored and Mike Turquette committed Mar 19, 2014
1 parent 419f612 commit 693bb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/clk/at91/clk-system.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ at91_clk_register_system(struct at91_pmc *pmc, const char *name,
* (see drivers/memory) which would request and enable the ddrck clock.
* When this is done we will be able to remove CLK_IGNORE_UNUSED flag.
*/
init.flags = CLK_IGNORE_UNUSED;
init.flags = CLK_SET_RATE_PARENT | CLK_IGNORE_UNUSED;

sys->id = id;
sys->hw.init = &init;
Expand Down

0 comments on commit 693bb3d

Please sign in to comment.