From: Rafael J. Wysocki Date: Tue, 6 Jul 2010 22:28:35 +0000 (-0400) Subject: ACPI / Sleep: Free NVS copy if suspending of devices fails X-Git-Tag: v2.6.36-rc1~1^2~12^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e96c4b081df0991a57b244f68c3955a9ea00bd0a;p=pandora-kernel.git ACPI / Sleep: Free NVS copy if suspending of devices fails If suspending of devices fails or system suspend is tested in the "devices" mode, the memory allocated for storing a copy of the ACPI NVS area will not be freed, because acpi_pm_finish() is not called in that case. Fix this by moving the suspend_nvs_free() call to acpi_pm_end(). Signed-off-by: Rafael J. Wysocki Signed-off-by: Len Brown --- Reading git-diff-tree failed