OSDN Git Service

ARM: tegra: Don't enable unused PLLs on resume from suspend
authorDmitry Osipenko <digetx@gmail.com>
Tue, 12 Jan 2021 13:50:31 +0000 (16:50 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 19 Jan 2021 17:20:42 +0000 (18:20 +0100)
commit680ae44526ea9b656238ac768c8b6130961a0bdb
tree30d0b78ac4ca37485d9a061a937c5efdaacd8f3d
parent5c8fe583cce542aa0b84adc939ce85293de36e5e
ARM: tegra: Don't enable unused PLLs on resume from suspend

PLLC and PLLM are usually disabled on system suspend because all devices
which use these PLLs are either suspended or switched away to other clock
source. Don't enable unused PLLs on resume from suspend by keeping track
of the enable-state of the PLLs across suspend-resume.

Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Nicolas Chauvet <kwizart@gmail.com>
Tested-by: Matt Merhar <mattmerhar@protonmail.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
arch/arm/mach-tegra/sleep-tegra20.S
arch/arm/mach-tegra/sleep-tegra30.S