diff options
author | Peng Fan <peng.fan@nxp.com> | 2022-02-28 20:41:12 +0800 |
---|---|---|
committer | Abel Vesa <abel.vesa@nxp.com> | 2022-04-12 13:47:03 +0300 |
commit | bb7e897b002aaf698e4ede6332bff38e77557a4b (patch) | |
tree | ffcfd73e22194da3eee9065a07e7108ea91d95e9 /drivers/clk/imx/clk-fracn-gppll.c | |
parent | 19565ea12d61c69ef2be97a97b426ba5c55572ff (diff) |
clk: imx8m: check mcore_booted before register clk
If mcore_booted is true, ignore the clk root gate registration and
this will simplify AMP clock management and avoid system hang unexpectly
especially Linux shutdown clk used by mcore.
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Link: https://lore.kernel.org/r/20220228124112.3974242-2-peng.fan@oss.nxp.com
[abelvesa@kernel.org: Removed if-case for when mcore_booted is true]
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
Diffstat (limited to 'drivers/clk/imx/clk-fracn-gppll.c')
0 files changed, 0 insertions, 0 deletions