clk: imx: imx8mm: fix pll mux bit
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Sep 2019 03:39:44 +0000 (03:39 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Sep 2019 05:53:34 +0000 (22:53 -0700)
commit67315be33e9c04c589fb16a291477bb3983d4283
treea146ab03e7ba6293052b3fa11daeeef4689a1dd4
parenta9aa8306074d9519dd6e5fdf07240b01bac72e04
clk: imx: imx8mm: fix pll mux bit

pll BYPASS bit should be kept inside pll driver for glitchless freq
setting following spec. If exposing the bit, that means pll driver and
clk driver has two paths to touch this bit, which is wrong.

So use EXT_BYPASS bit here.

And drop uneeded set parent, because EXT_BYPASS default is 0.

Fixes: ba5625c3e272 ("clk: imx: Add clock driver support for imx8mm")
Suggested-by: Jacky Bai <ping.bai@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lkml.kernel.org/r/1568043491-20680-4-git-send-email-peng.fan@nxp.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx8mm.c