]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: fix i.MX7D peripheral clk mux flags
authorPeng Fan <peng.fan@nxp.com>
Fri, 28 Aug 2020 07:18:50 +0000 (15:18 +0800)
committerShawn Guo <shawnguo@kernel.org>
Mon, 7 Sep 2020 03:08:50 +0000 (11:08 +0800)
commit2c2b9c1d5bf03eecd83ad31c5f53b7ca05badaad
tree68c7119935d64a835cfe94d1a55881177f559bc5
parent427e8da57fdd8603840b3f026c4c72c50c044f8f
clk: imx: fix i.MX7D peripheral clk mux flags

According to RM, Page 574, Chapter 5.2.6.4.3 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-imx7d.c