Advertisement
Guest User

Untitled

a guest
Oct 27th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.05 KB | None | 0 0
  1. commit a8060ae2a75aa5eacf4f295679ebbb8089aae813
  2. Author: Marian Mihailescu <[email protected]>
  3. Date: Mon Oct 28 12:09:49 2019 +1030
  4.  
  5. clk: samsung: exynos5420: Preserve CPU clocks configuration during suspend/resume
  6.  
  7. Save and restore top PLL related configuration registers for big (APLL)
  8. and LITTLE (KPLL) cores during suspend/resume cycle. So far, CPU clocks
  9. were reset to default values after suspend/resume cycle and performance
  10. after system resume was affected when performance governor has been selected.
  11.  
  12. Fixes: 773424326b51 ("clk: samsung: exynos5420: add more registers to restore list")
  13.  
  14. diff --git a/drivers/clk/samsung/clk-exynos5420.c b/drivers/clk/samsung/clk-exynos5420.c
  15. index 83fc6997effb..430536c7b380 100644
  16. --- a/drivers/clk/samsung/clk-exynos5420.c
  17. +++ b/drivers/clk/samsung/clk-exynos5420.c
  18. @@ -165,6 +165,8 @@ static const unsigned long exynos5x_clk_regs[] __initconst = {
  19. GATE_BUS_CPU,
  20. GATE_SCLK_CPU,
  21. CLKOUT_CMU_CPU,
  22. + APLL_CON0,
  23. + KPLL_CON0,
  24. CPLL_CON0,
  25. DPLL_CON0,
  26. EPLL_CON0,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement