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

Skip to content
Commit 369db8f2 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

mhi: core: Check for pm error state before asserting dev wake



After calling remove call back in mhi_pm_disable_transition
there is possibility of MHI client calling mhi_device_get_sync
which increments dev wake. This results in to MHI ASSERT due
to non zero dev wake count. Fix this issue by checking pm error
state before incrementing dev wake count.

Change-Id: I817d571f210b77aef444a7ae1f9b2cc5af057ab2
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 04ac388e
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