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

Commit f6dae343 authored by Steven Cahail's avatar Steven Cahail
Browse files

soc: qcom: glink: Panic if SSR notification to RPM cannot be sent



It is a fatal error if the SSR notification to RPM cannot be sent.
However, the G-Link SSR driver currently continues processing in this
case.

Panic if the SSR notification to RPM cannot be sent.

Change-Id: I33a2396b27c51f493cd39043cb7c5541314aabc0
Signed-off-by: default avatarSteven Cahail <scahail@codeaurora.org>
parent ba3dde18
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -517,6 +517,9 @@ int notify_for_subsystem(struct subsys_info *ss_info)
			if (strcmp(ss_leaf_entry->ssr_name, "rpm")) {
				subsystem_restart(ss_leaf_entry->ssr_name);
				ss_leaf_entry->restarted = true;
			} else {
				panic("%s: glink_tx() to RPM failed!\n",
						__func__);
			}
			atomic_dec(&responses_remaining);
			continue;