Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3677be32 authored by Subhash Jadavani's avatar Subhash Jadavani Committed by Stephen Boyd
Browse files

mmc: msm_sdcc: don't print suspend/resume statistics in case of errors



Currently we print the time taken during SDCC host driver suspend/resume
(both platform and runtime) even if we encountered errors during it.
But sometimes, for example runtime suspend might be aborted because
actual SDCC transfer request is arrived at the same time. So printing
the statistics in such cases will not be helpful and may even cause the
confusion.

This change prints the time taken in suspend/resume only when those
operations are successfully completed.

Change-Id: I7fa5754ccddee0d90f684b05526e9434c068a0ff
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent cb92758e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment