From: Rafael J. Wysocki Date: Thu, 19 Jul 2007 08:47:31 +0000 (-0700) Subject: Hibernation: prepare to enter the low power state X-Git-Tag: v2.6.23-rc1~460 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1457bcc3a00a0446c7f6e2f22fd24b6d8d0a309;p=pandora-kernel.git Hibernation: prepare to enter the low power state During hibernation we call hibernation_ops->prepare() before creating the image, but then, before saving it, we cancel the power transition by calling hibernation_ops->finish(). Thus prior to calling hibernation_ops->enter() we should let the platform firmware know that we're going to enter the low power state after all. Signed-off-by: Rafael J. Wysocki Cc: Gautham R Shenoy Cc: Pavel Machek Cc: Nigel Cunningham Cc: Oleg Nesterov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed