Commit d2a67759 authored by Ruchi Kandoi's avatar Ruchi Kandoi Committed by John Stultz
Browse files

suspend: Return error when pending wakeup source is found.



If a wakeup source is found to be pending in the last stage of suspend
after syscore suspend then the device doesn't suspend but the error is
not propogated which causes an error in the accounting for the number
of suspend aborts and successful suspends.

Change-Id: Ib63b4ead755127eaf03e3b303aab3c782ad02ed1
Signed-off-by: default avatarRuchi Kandoi <kandoiruchi@google.com>
parent 77f64e5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment