]> 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)
commit7cf8c0a0f3330e445c561c5b8e5ba17d2f3fbb99
treee4d17eeccf22080e6d2220008862fb0a914182ca
parentaf40b77ae1c29d66f70c3e7a96d24923d340de16
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