]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume
authorMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 25 Oct 2019 09:02:01 +0000 (11:02 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 19 Dec 2019 15:58:45 +0000 (15:58 +0000)
commitf0bc6b7adccdb73775cca8af6843b53b7fa98805
treea38dfb914b8d37bdc97c2cdd89833c57c7f22ea2
parent7f69044c7ebc1f6efbe443305aa6b136404b162d
clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume

commit e9323b664ce29547d996195e8a6129a351c39108 upstream.

Properly save and restore all top PLL related configuration registers
during suspend/resume cycle. So far driver only handled EPLL and RPLL
clocks, all other were reset to default values after suspend/resume cycle.
This caused for example lower G3D (MALI Panfrost) performance after system
resume, even if performance governor has been selected.

Reported-by: Reported-by: Marian Mihailescu <mihailescu2m@gmail.com>
Fixes: 773424326b51 ("clk: samsung: exynos5420: add more registers to restore list")
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/clk/samsung/clk-exynos5420.c