summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2010-07-07 21:43:45 (GMT)
committerRafael J. Wysocki <rjw@sisk.pl>2010-07-19 00:00:35 (GMT)
commitce4410116c5debfb0e049f5db4b5cd6211e05b80 (patch)
tree510009c78c5d2757fde08f31c03dd41ddb130463 /drivers/base
parentd074ee023fa3a4681b64223c5e636102c39628c4 (diff)
downloadlinux-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