diff options
author | Marcin Wojtas <mw@semihalf.com> | 2016-09-21 12:05:57 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-09-23 02:04:40 +0300 |
commit | ad715b268a501533ecb2e891a624841d1bb5137c (patch) | |
tree | 1242a4d3239d90961ab8c39b650b4c2e38e83f13 /drivers/md/raid10.c | |
parent | 41d88559c31bfd2a7e5dd105362f0e39f810401c (diff) | |
download | linux-ad715b268a501533ecb2e891a624841d1bb5137c.tar.xz |
clk: mvebu: fix setting unwanted flags in CP110 gate clock
Armada CP110 system controller comprises 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 resetting all fields of clk_init_data
before assigning values 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>
CC: <stable@vger.kernel.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/md/raid10.c')
0 files changed, 0 insertions, 0 deletions