]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx6sx: remove clks_init_on array
authorAnson Huang <Anson.Huang@nxp.com>
Mon, 4 Jun 2018 01:06:45 +0000 (09:06 +0800)
committerStephen Boyd <sboyd@kernel.org>
Fri, 29 Jun 2018 18:29:35 +0000 (11:29 -0700)
commitc73b39bbcf9c473616990d7da970bf0649ca083e
treee4d17eeccf22080e6d2220008862fb0a914182ca
parent93cfc774a59670c303a12359ca9b850a1d2dce78
clk: imx6sx: remove clks_init_on array

Clock framework will enable those clocks registered
with CLK_IS_CRITICAL flag, so no need to have
clks_init_on array during clock initialization now.

ARM clock is busy divider type which has the
CLK_IS_CRITICAL flag set by default when registered.

IPG clock has no clock gate and its parent AHB clock
is busy divider type, so no need to add CLK_IS_CRITICAL
flag for IPG clock.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx6sx.c