projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6618b5a
)
clk: imx: scu: bypass pi_pll enable status restore
author
Dong Aisheng
<aisheng.dong@nxp.com>
Fri, 4 Jun 2021 09:09:38 +0000
(17:09 +0800)
committer
Abel Vesa
<abel.vesa@nxp.com>
Mon, 14 Jun 2021 09:34:30 +0000
(12:34 +0300)
PI PLL does not support enable/disable. So bypass it's
enable status restore.
Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Reviewed-by: Abel Vesa <abel.vesa@nxp.com>
Signed-off-by: Abel Vesa <abel.vesa@nxp.com>
drivers/clk/imx/clk-scu.c
patch
|
blob
|
history
diff --git
a/drivers/clk/imx/clk-scu.c
b/drivers/clk/imx/clk-scu.c
index
95fcac7
..
2537e68
100644
(file)
--- a/
drivers/clk/imx/clk-scu.c
+++ b/
drivers/clk/imx/clk-scu.c
@@
-573,7
+573,7
@@
static int __maybe_unused imx_clk_scu_resume(struct device *dev)
!ret ? "success" : "failed");
}
- if (clk->is_enabled) {
+ if (clk->is_enabled
&& rsrc_id != IMX_SC_R_PI_0_PLL
) {
ret = clk_scu_prepare(&clk->hw);
dev_dbg(dev, "restore enabled state %s\n",
!ret ? "success" : "failed");