diff options
author | Ricky Liang <jcliang@chromium.org> | 2015-05-18 17:00:26 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2015-05-20 04:40:48 +0300 |
commit | 95f589814c8af85fa673320bf319ffe8d721dd74 (patch) | |
tree | 92385ff41328f0931cafb6c160babc6c6a459652 /drivers/clk/sirf | |
parent | df5338d9fe5d607cdbc68d8432cbfdc9a942a679 (diff) | |
download | linux-95f589814c8af85fa673320bf319ffe8d721dd74.tar.xz |
clk: mediatek: Initialize clk_init_data
The variable init (struct clk_init_data) is allocated on the stack.
We weren't initializing the .flags field, so it contains random junk,
which can cause all kinds of interesting issues when the flags are
parsed by clk_register.
Signed-off-by: Ricky Liang <jcliang@chromium.org>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/sirf')
0 files changed, 0 insertions, 0 deletions