From: Dmitry Eremin-Solenikov Date: Sat, 8 Nov 2014 16:17:13 +0000 (+0300) Subject: PM / sleep: Fix entering suspend-to-IDLE if no freeze_oops is set X-Git-Tag: omap-for-v3.19/fixes-for-merge-window~115^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=403b9636fe9f59124d1a437a297b330729061252;p=pandora-kernel.git 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 Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed