From: Bin Shi Date: Fri, 3 Jan 2014 06:08:54 +0000 (+0800) Subject: apm-emulation: add hibernation APM events to support suspend2disk X-Git-Tag: v3.14-rc1~107^2~6^4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=158204397034f088bfd505eeee281f7072da1c24;p=pandora-kernel.git apm-emulation: add hibernation APM events to support suspend2disk Some embedded systems use hibernation for fast boot. and in it, some software components need to handle specific things before hibernation and after restore. So it needs to capture the apm status about these pm events. Currently apm just supports suspend to ram, but not suspend to disk, so here add logic about hibernation apm events. Signed-off-by: Bin Shi Signed-off-by: Barry Song Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed