diff options
author | Alex Elder <elder@linaro.org> | 2014-02-14 22:29:19 +0400 |
---|---|---|
committer | Matt Porter <mporter@linaro.org> | 2014-02-24 22:50:36 +0400 |
commit | 1a5823c9209f0435347fcc079cf9b0dc01882db0 (patch) | |
tree | b1d645f575cf350afe1da955fd79e9c9d36d290c /drivers/clk/bcm | |
parent | 1f27f15258bfee2ae85240e9505186dd959d2892 (diff) | |
download | linux-1a5823c9209f0435347fcc079cf9b0dc01882db0.tar.xz |
clk: bcm281xx: don't disable unused peripheral clocks
Add the CLK_IGNORE_UNUSED flag when setting up a peripheral clock.
This prevents unused clocks from getting disabled, and by doing
this we can use the common clock code even before we've resolved
all the spots that need to get a reference to their clock.
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Matt Porter <mporter@linaro.org>
Acked-by: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Matt Porter <mporter@linaro.org>
Diffstat (limited to 'drivers/clk/bcm')
-rw-r--r-- | drivers/clk/bcm/clk-kona-setup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/bcm/clk-kona-setup.c b/drivers/clk/bcm/clk-kona-setup.c index f1e88fe6bb4c..c7607feb18dd 100644 --- a/drivers/clk/bcm/clk-kona-setup.c +++ b/drivers/clk/bcm/clk-kona-setup.c @@ -579,7 +579,7 @@ static int peri_clk_setup(struct ccu_data *ccu, struct peri_clk_data *data, struct clk_init_data *init_data) { init_data->ops = &kona_peri_clk_ops; - init_data->flags = 0; + init_data->flags = CLK_IGNORE_UNUSED; return clk_sel_setup(data->clocks, &data->sel, init_data); } |