]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitabf872d1fca957b128bf64f49faa9daf9005ad3d
treea146ab03e7ba6293052b3fa11daeeef4689a1dd4
parent3b08af2a16f0100f4f2910cf513f7a97cc1f480e
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: d3ecbedebdd0 ("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