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

Skip to content
Commit faa876b3 authored by Seemanta Dutta's avatar Seemanta Dutta Committed by Stephen Boyd
Browse files

msm: subsystem_restart: Correct state transition even in absence of PIL



In case the subsystem does not use the PIL framework, make sure
that when subsystem_get() is called, the state of the subsystem
is transitioned to SUBSYSTEM_ONLINE before returning success from
that API. Otherwise, the state would remain initialized to
SUBSYSTEM_OFFLINE even though the subsystem is up and running.

Change-Id: I4e608a2d9f9463c1b7d173080e1fcb4b98dc7083
Signed-off-by: default avatarSeemanta Dutta <seemanta@codeaurora.org>
parent b9763018
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