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

Skip to content
Commit 7cee2649 authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: SSR: Consolidate loops during restart



The main restart function loops over the restart list many times
and repeats the same looping logic each time. Extract that loop
into a function and call it with a function reflecting what each
loop is doing: shutdown, ramdump, powerup, and all the notifiers
before and after.

Change-Id: Ic448367f708e9ddee151511df2be3773e9d4f63f
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent eab2ac6b
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