summaryrefslogtreecommitdiffstats
path: root/drivers/clk/at91
diff options
context:
space:
mode:
authorAlexandre Belloni2014-07-08 18:21:16 +0200
committerMaxime Ripard2014-07-15 11:54:09 +0200
commitb736bcb3d8fe6182d12feb0412106802d80b4527 (patch)
tree068543a0e3ec5c1458148dae98925db6f4353d1f /drivers/clk/at91
parentARM: at91: select ATMEL_SDRAMC when using OF (diff)
downloadkernel-qcow2-linux-b736bcb3d8fe6182d12feb0412106802d80b4527.tar.gz
kernel-qcow2-linux-b736bcb3d8fe6182d12feb0412106802d80b4527.tar.xz
kernel-qcow2-linux-b736bcb3d8fe6182d12feb0412106802d80b4527.zip
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>
Diffstat (limited to 'drivers/clk/at91')
-rw-r--r--drivers/clk/at91/clk-system.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/clk/at91/clk-system.c b/drivers/clk/at91/clk-system.c
index 8c96307d7363..a76d03fd577b 100644
--- a/drivers/clk/at91/clk-system.c
+++ b/drivers/clk/at91/clk-system.c
@@ -119,13 +119,7 @@ at91_clk_register_system(struct at91_pmc *pmc, const char *name,
init.ops = &system_ops;
init.parent_names = &parent_name;
init.num_parents = 1;
- /*
- * CLK_IGNORE_UNUSED is used to avoid ddrck switch off.
- * TODO : we should implement a driver supporting at91 ddr controller
- * (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_SET_RATE_PARENT | CLK_IGNORE_UNUSED;
+ init.flags = CLK_SET_RATE_PARENT;
sys->id = id;
sys->hw.init = &init;