commit | 95f589814c8af85fa673320bf319ffe8d721dd74 | [log] [tgz] |
---|---|---|
author | Ricky Liang <jcliang@chromium.org> | Mon May 18 22:00:26 2015 +0800 |
committer | Stephen Boyd <sboyd@codeaurora.org> | Tue May 19 18:40:48 2015 -0700 |
tree | 92385ff41328f0931cafb6c160babc6c6a459652 | |
parent | df5338d9fe5d607cdbc68d8432cbfdc9a942a679 [diff] |
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>