]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: imx: composite-7ulp: Check the PCC present bit
authorYe Li <ye.li@nxp.com>
Fri, 7 Jun 2024 13:33:35 +0000 (21:33 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Oct 2024 14:33:02 +0000 (16:33 +0200)
commitc5943ae892daa02b7dd7fd0e635208bcfd11a19b
tree801edd90131a65ab7b221fca3eaa3720a92c2aa6
parent3bcaa9ce8c2e531511e7020ac259e27cbbd3f906
clk: imx: composite-7ulp: Check the PCC present bit

[ Upstream commit 4717ccadb51e2630790dddd222830702de17f090 ]

When some module is disabled by fuse, its PCC PR bit is default 0 and
PCC is not operational. Any write to this PCC will cause SError.

Fixes: b40ba8065347 ("clk: imx: Update the compsite driver to support imx8ulp")
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@linaro.org>
Link: https://lore.kernel.org/r/20240607133347.3291040-4-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/imx/clk-composite-7ulp.c