clk: imx: scu: Only save DC SS clock using non-cached clock rate
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 4 Jun 2021 09:09:41 +0000 (17:09 +0800)
committerAbel Vesa <abel.vesa@nxp.com>
Mon, 14 Jun 2021 09:34:43 +0000 (12:34 +0300)
commit7487986c9a010410b7e7af13072a5c04ea804eda
tree0ecb061c1854c9b4d55631639d22ee70a53be9ce
parenta43f6e8ae429f5ca594ae4463cc31c2a8ad4339c
clk: imx: scu: Only save DC SS clock using non-cached clock rate

Display sub-system has special clock settings in SCFW, the
bypassed clock is used instead of PLL in Linux kernel clock
tree, so when saving clock rate, need to save non-cached clock
rate for Display sub-system's bypass clocks, and other clocks
still use the cached clock rate which is with runtime PM ON.

Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
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