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

Skip to content
Commit 01fee9e0 authored by Deepak Katragadda's avatar Deepak Katragadda
Browse files

qcom: ssr: Nullify subsys pointer in restart group if registration fails



When setting up subsys IRQs fails during the call to
subsys_register, null-ify the subsystem's pointer
in the restart group along with the other cleanup.
When/if the subsystem driver calls subsys_register
on the subsystem again, the subsystem's pointer will
be filled back.

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