From: Fabio Baltieri Date: Tue, 30 Apr 2013 12:45:06 +0000 (+0200) Subject: clk: ux500: clk-sysctrl: handle clocks with no parents X-Git-Tag: v3.10-rc4~4^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f586938ba2cf83ed4cbebe96436220d182a7808e;p=pandora-kernel.git clk: ux500: clk-sysctrl: handle clocks with no parents Fix clk_reg_sysctrl() to set main clock registers of new struct clk_sysctrl even if the registered clock has no parents. This fixes an issue where "ulpclk" was registered with all clk->reg_* fields uninitialized, causing a -EINVAL error from clk_prepare(). Signed-off-by: Fabio Baltieri Acked-by: Ulf Hansson Signed-off-by: Mike Turquette --- Reading git-diff-tree failed