[PATCH] ARM: SAMSUNG: Gracefully exit on suspend failure
Abhilash Kesavan
kesavan.abhilash at gmail.com
Fri Jan 18 08:10:57 EST 2013
Hi,
>> - panic("sleep resumed to originator?");
>> + pr_err("Failed to suspend the system\n");
>> + return -EBUSY;
>
> This can be happened under non-error situation, so this should be:
>
> + pr_info("sleep resumed to originator?");
> + return 1; /* abort suspend */
>
Will re-post with suggested changes.
Abhilash
More information about the linux-arm-kernel
mailing list