Commit 7fef917b authored by Santosh Shilimkar's avatar Santosh Shilimkar
Browse files

ARM: keystone: Avoid calling of_clk_init() twice



With commit 4178bac4 {ARM: call of_clk_init from default time_init
handler}, of_clk_init() is always called on machines using default
time_init handler.

So drop the of_clk_init() from keystone code to avoid below
boot errors because of double call.

_of_pll_clk_init: error initializing pll mainpllclk
_of_pll_clk_init: error initializing pll papllclk
_of_pll_clk_init: error initializing pll ddr3apllclk
_of_pll_clk_init: error initializing pll ddr3bpllclk
_of_pll_clk_init: error initializing pll armpllclk

Reported-by: default avatarGrygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
parent 8308a78d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -74,7 +74,6 @@ int __init keystone_pm_runtime_init(void)
	if (!np)
		return 0;

	of_clk_init(NULL);
	pm_clk_add_notifier(&platform_bus_type, &platform_domain_notifier);

	return 0;