power: Adds functionality to log the last suspend abort reason.
authorRuchi Kandoi <kandoiruchi@google.com>
Wed, 29 Oct 2014 17:36:27 +0000 (10:36 -0700)
committerJohn Stultz <john.stultz@linaro.org>
Tue, 16 Feb 2016 21:53:38 +0000 (13:53 -0800)
commit57caa2ad5ce35bedb7ab374a2e5b4d7adf63da2b
tree960197e19ff7a3e40d0380935da2cec972155dfe
parent1adb5b403433616585cae7fa22a61ede2400319a
power: Adds functionality to log the last suspend abort reason.

Extends the last_resume_reason to log suspend abort reason. The abort
reasons will have "Abort:" appended at the start to distinguish itself
from the resume reason.

Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
Change-Id: I3207f1844e3d87c706dfc298fb10e1c648814c5f
drivers/base/power/main.c
drivers/base/power/wakeup.c
drivers/base/syscore.c
include/linux/suspend.h
include/linux/wakeup_reason.h
kernel/power/process.c
kernel/power/suspend.c
kernel/power/wakeup_reason.c