MLK-21650 clk: imx6sx: Fix reparenting perclk
authorLeonard Crestez <leonard.crestez@nxp.com>
Sun, 19 May 2019 13:39:27 +0000 (16:39 +0300)
committerLeonard Crestez <leonard.crestez@nxp.com>
Mon, 20 May 2019 08:12:46 +0000 (11:12 +0300)
commit41aa3f3dfbee8281a022d3b7c5815bfe5c710599
tree7ef1274f7e5cefd65aae7c9062cdbaffdac5158c
parentc9d39a2819f6eab7795b749abe2c2c51e78b9958
MLK-21650 clk: imx6sx: Fix reparenting perclk

Remove the CLK_IS_CRITICAL flag because this breaks the reparenting of
perclk_sel to osc. Replace this with an explicit clk_prepare_enable
instead.

Signed-off-by: Leonard Crestez <leonard.crestez@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
drivers/clk/imx/clk-imx6sx.c