diff options
author | Dmitry Eremin-Solenikov <dbaryshkov@gmail.com> | 2014-11-08 17:17:13 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-11-08 22:30:05 +0100 |
commit | 403b9636fe9f59124d1a437a297b330729061252 (patch) | |
tree | 5b9b854f1dc530d9e063c6c6b25fe6c9f02962ae /kernel/task_work.c | |
parent | Linux 3.18-rc3 (diff) | |
download | linux-403b9636fe9f59124d1a437a297b330729061252.tar.xz linux-403b9636fe9f59124d1a437a297b330729061252.zip |
PM / sleep: Fix entering suspend-to-IDLE if no freeze_oops is set
If no freeze_ops is set, trying to enter suspend-to-IDLE will cause a
nice oops in platform_suspend_prepare_late(). Add respective checks to
platform_suspend_prepare_late() and platform_resume_early() functions.
Fixes: a8d46b9e4e48 (ACPI / sleep: Rework the handling of ACPI GPE wakeup ...)
Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'kernel/task_work.c')
0 files changed, 0 insertions, 0 deletions