OSDN Git Service

cpuidle: don't disable cpuidle when entering suspend
authorTim Murray <timmurray@google.com>
Wed, 21 Sep 2016 20:11:25 +0000 (13:11 -0700)
committer0ranko0P <ranko0p@outlook.com>
Sat, 7 Dec 2019 10:01:11 +0000 (18:01 +0800)
commit7d38f59eaec646c9dfc25e4dbdc8f54fb3226b3d
tree9d12bf30a0f49f1f8ef02e78fb4c97c7100c3fb9
parenta7a7ea33279d7ddf132bf0d781b2d5bbc3a47eee
cpuidle: don't disable cpuidle when entering suspend

cpuidle was disabled while entering suspend as part of commit
8651f97bd951d0bb1c10fa24e3fa3455193f3548 in order to work around some
ACPI bugs. However, there's no reason to do this on modern
platforms. Leaving cpuidle enabled can result in improved power
consumption if dpm_resume_noirq runs for a significant time.

Change-Id: Ie182785b176f448698c0264eba554d1e315e8a06
drivers/base/power/main.c