clk: imx: fix composite peripheral flags
authorPeng Fan <peng.fan@nxp.com>
Wed, 26 Aug 2020 07:14:07 +0000 (15:14 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 7 Sep 2020 03:08:50 +0000 (11:08 +0800)
commit936c383673b9e3007432f17140ac62de53d87db9
treea130a30d156df59bbdf73d91fd7b8a94622266af
parentf1859198509e4ddc93a24049f814fa0fcee0bfd8
clk: imx: fix composite peripheral flags

According to RM, for peripheral clock slice,
"IP clock slices must be stopped to change the clock source.".

So we must have CLK_SET_PARENT_GATE flag to avoid glitch.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-composite-8m.c