Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1468321
| From | Marcin Wojtas <mw@semihalf.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] clk: mvebu: set flags in CP110 gate clock |
| Date | 2016-08-23 08:30 +0200 |
| Message-ID | <s9dnI-eE-11@gated-at.bofh.it> (permalink) |
| References | <s9dnI-eE-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Armada CP110 system controller comprise its own routine responsble
for registering gate clocks. Among others 'flags' field in
struct clk_init_data was not set, using a random values, which
may cause an unpredicted behavior.
This patch fixes the problem by setting CLK_IS_BASIC flag for
all gated clocks of Armada 7k/8k SoCs family.
Fixes: d3da3eaef7f4 ("clk: mvebu: new driver for Armada CP110 system ...")
Signed-off-by: Marcin Wojtas <mw@semihalf.com>
---
drivers/clk/mvebu/cp110-system-controller.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/clk/mvebu/cp110-system-controller.c b/drivers/clk/mvebu/cp110-system-controller.c
index 7fa42d6..0835e1d 100644
--- a/drivers/clk/mvebu/cp110-system-controller.c
+++ b/drivers/clk/mvebu/cp110-system-controller.c
@@ -144,6 +144,7 @@ static struct clk *cp110_register_gate(const char *name,
init.name = name;
init.ops = &cp110_gate_ops;
+ init.flags = CLK_IS_BASIC;
init.parent_names = &parent_name;
init.num_parents = 1;
--
1.8.3.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/2] Armada 7k/8k CP110 system controller fixes Marcin Wojtas <mw@semihalf.com> - 2016-08-23 08:30 +0200
[PATCH 2/2] clk: mvebu: dynamically allocate resources in Armada CP110 system controller Marcin Wojtas <mw@semihalf.com> - 2016-08-23 08:30 +0200
Re: [PATCH 2/2] clk: mvebu: dynamically allocate resources in Armada CP110 system controller Stephen Boyd <sboyd@codeaurora.org> - 2016-08-25 07:10 +0200
[PATCH 1/2] clk: mvebu: set flags in CP110 gate clock Marcin Wojtas <mw@semihalf.com> - 2016-08-23 08:30 +0200
Re: [PATCH 1/2] clk: mvebu: set flags in CP110 gate clock Andrew Lunn <andrew@lunn.ch> - 2016-08-23 16:20 +0200
Re: [PATCH 1/2] clk: mvebu: set flags in CP110 gate clock Marcin Wojtas <mw@semihalf.com> - 2016-08-24 11:00 +0200
Re: [PATCH 1/2] clk: mvebu: set flags in CP110 gate clock Stephen Boyd <sboyd@codeaurora.org> - 2016-08-25 07:10 +0200
csiph-web