Commit ba32dd14 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by Amit Pundir
Browse files

ANDROID: power: wakeup_reason: 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: default avatarRuchi Kandoi <kandoiruchi@google.com>
Change-Id: I3207f1844e3d87c706dfc298fb10e1c648814c5f

[AmitP: Folded following android-4.9 changes into this patch
        00a83e61 ("ANDROID: Make suspend abort reason logging depend on CONFIG_PM_SLEEP")
        9d17e24b ("ANDROID: wakeup_reason: use vsnprintf instead of snsprintf for vargs.")
        79619726 ("ANDROID: power: Provide dummy log_suspend_abort_reason() if SUSPEND is disabled")]
Signed-off-by: default avatarAmit Pundir <amit.pundir@linaro.org>
parent 01fea29c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment