diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-06 18:28:35 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-07-06 18:28:35 -0400 |
commit | e96c4b081df0991a57b244f68c3955a9ea00bd0a (patch) | |
tree | eeeb0110bd4ffdf814db88f68ef2a81e45fab55d /block/cfq-iosched.c | |
parent | 815c4163b6c8ebf8152f42b0a5fd015cfdcedc78 (diff) | |
download | blackbird-op-linux-e96c4b081df0991a57b244f68c3955a9ea00bd0a.tar.gz blackbird-op-linux-e96c4b081df0991a57b244f68c3955a9ea00bd0a.zip |
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 <rjw@sisk.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'block/cfq-iosched.c')
0 files changed, 0 insertions, 0 deletions