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

Commit 4e651c66 authored by Deepak Katragadda's avatar Deepak Katragadda Committed by Gerrit - the friendly Code Review server
Browse files

soc: qcom: ssr: Check the subsystem state before initiating SSR



In the case when subsystem restart is triggered on a subsystem
which is being shutdown, there might be a race condition which
could involve the SSR framework trying to restart a subsystem
which is already shutdown. Print a warning and return from the
SSR function if this is the case.

Change-Id: I38083822db598e7b292bcf3b9e187a9f56d48bbb
Signed-off-by: default avatarDeepak Katragadda <dkatraga@codeaurora.org>
parent de82da07
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