]> asedeno.scripts.mit.edu Git - linux.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)
commit566f5b67fc0c3bffec03a963334eb7c1df30204d
treee4d17eeccf22080e6d2220008862fb0a914182ca
parent8e12ce99541bdf5ec7cee08683bf455d8c882e49
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