diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-07 21:43:45 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2010-07-19 00:00:35 (GMT) |
commit | ce4410116c5debfb0e049f5db4b5cd6211e05b80 (patch) | |
tree | 510009c78c5d2757fde08f31c03dd41ddb130463 /drivers/base | |
parent | d074ee023fa3a4681b64223c5e636102c39628c4 (diff) | |
download | linux-fsl-qoriq-ce4410116c5debfb0e049f5db4b5cd6211e05b80.tar.xz |
PM / Suspend: Fix ordering of calls in suspend error paths
The ACPI suspend code calls suspend_nvs_free() at a wrong place,
which may lead to a memory leak if there's an error executing
acpi_pm_prepare(), because acpi_pm_finish() will not be called in
that case. However, the root cause of this problem is the
apparently confusing ordering of calls in suspend error paths that
needs to be fixed.
In addition to that, fix a typo in a label name in suspend.c.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions