diff options
author | MyungJoo Ham <myungjoo.ham@samsung.com> | 2011-04-22 22:00:54 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2011-05-17 23:19:16 +0200 |
commit | 3c431936087e93d2219a184a8e19eaa68077e379 (patch) | |
tree | 65b9bd696100c808ae02d6c235990a2c4fbb7104 /kernel/freezer.c | |
parent | c1d10d18c542278b7fbc413c289d3cb6219da6b3 (diff) | |
download | linux-3c431936087e93d2219a184a8e19eaa68077e379.tar.gz linux-3c431936087e93d2219a184a8e19eaa68077e379.tar.bz2 linux-3c431936087e93d2219a184a8e19eaa68077e379.zip |
PM / Suspend: Do not ignore error codes returned by suspend_enter()
The current implementation of suspend-to-RAM returns 0 if there is an
error from suspend_enter(), because suspend_devices_and_enter() ignores
the return value from suspend_enter(). This patch addresses this issue
and properly keep the error return from suspend_enter() and let
suspend_devices_and_enter relay the error return.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'kernel/freezer.c')
0 files changed, 0 insertions, 0 deletions