]> 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)
commit387fb46eb66a6662a5892dfbee4246c7b9ef8bb9
tree68c7119935d64a835cfe94d1a55881177f559bc5
parent4ad7b9dbc08ab1c1ee2b0aead30bda681c24d9f7
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