summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorIvan Khoronzhuk <ivan.khoronzhuk@ti.com>2014-01-28 12:49:15 +0200
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2014-02-10 15:17:43 -0500
commita65e0c6a7f14d80e87b82959c7333595cbd3e54e (patch)
tree00397863feb26bf995c634e33e16dbbbaac3c369 /block
parent38dbfb59d1175ef458d006556061adeaa8751b72 (diff)
clk: keystone: gate: fix clk_init_data initialization
The clk_init_data struct is allocated in the stack. All members of this struct should be initialized before using otherwise it will lead to unpredictable situation as it can contain garbage. Ultimately the clk->flag field contains garbage. In my case it leads that flag CLK_IGNORE_UNUSED is set for most of clocks. As result a bunch of unused clocks cannot be disabled. So initialize flags in this structure too. Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions