]> git.baikalelectronics.ru Git - kernel.git/commit
clk: imx: clk-composite-8m: add lock to gate/mux
authorPeng Fan <peng.fan@nxp.com>
Fri, 1 Nov 2019 10:16:19 +0000 (10:16 +0000)
committerShawn Guo <shawnguo@kernel.org>
Mon, 9 Dec 2019 00:27:06 +0000 (08:27 +0800)
commitc60c7c5185c7577fc92b06ff449c1b831fd7ee36
treea87edacfe05c270e62ab8ab5adb87e617c66c8b7
parent47599c6298943ede4662b5e31dfe375feac1b48a
clk: imx: clk-composite-8m: add lock to gate/mux

There is a lock to divider in the composite driver, but that's not
enough. lock to gate/mux are also needed to provide exclusive access
to the register.

Fixes: ea7fd9f0f5d4 ("clk: imx: Add imx composite clock")
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
drivers/clk/imx/clk-composite-8m.c