]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: imx8mn: fix pll mux bit
authorPeng Fan <peng.fan@nxp.com>
Mon, 9 Sep 2019 03:39:50 +0000 (03:39 +0000)
committerStephen Boyd <sboyd@kernel.org>
Wed, 18 Sep 2019 05:53:34 +0000 (22:53 -0700)
commitb98ed3f5685d42c3f10e1791e334aa0d52ebad40
tree70abdbf5ba143bc8e77771085d6319ca57a36b09
parentd954a8902f078cdaff130938d4c7139ac6a4f9ca
clk: imx: imx8mn: 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.

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-5-git-send-email-peng.fan@nxp.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/imx/clk-imx8mn.c