clk: imx7d: Move clks_init_on before any clock operations
authorDong Aisheng <b29396@freescale.com>
Wed, 28 Mar 2018 06:46:39 +0000 (09:46 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 6 Apr 2018 17:14:04 +0000 (10:14 -0700)
commit8d41e6538c1a4d034cd1f4cc5efec699dd83ca5d
treef83a82cb6bb162cd93fe6091a8a85fa86f14cf05
parenta12ec8b6536b9eb484627f252d2a460f6b74c585
clk: imx7d: Move clks_init_on before any clock operations

For init on clocks we should move it at the first place in imx7d_clocks_init()
before any clock operations, else the clock operation may fail in case the clock
is still not on.

Acked-by: Ranjani Vaidyanathan <Ranjani.Vaidyanathan@freescale.com>
Signed-off-by: Dong Aisheng <b29396@freescale.com>
Signed-off-by: Irina Tirdea <irina.tirdea@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx7d.c