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

Commit 6afd7bc8 authored by Steven Cahail's avatar Steven Cahail
Browse files

soc: qcom: glink: Log the responding subsystem in SSR



When a response to an SSR notification is received, the G-Link SSR
driver does not log which subsystem the response comes from. This
increases difficulty when debugging.

Log the subsystem the response message comes from.

Change-Id: I4e6d9c6fb5e559fbfbec3a7f368716cd5ff98b4b
Signed-off-by: default avatarSteven Cahail <scahail@codeaurora.org>
parent f6dae343
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -199,8 +199,9 @@ void glink_ssr_notify_rx(void *handle, const void *priv, const void *pkt_priv,

	GLINK_DBG("<SSR> %s: responses remaining after dec[%d]\n",
			__func__, atomic_read(&responses_remaining));
	GLINK_INFO("<SSR> %s: %s resp[%d] version[%d] seq_num[%d]\n",
			__func__, "Response received.", resp->response,
	GLINK_INFO(
		"<SSR> %s: Response received from %s resp[%d] version[%d] seq_num[%d]\n",
			__func__, cb_data->edge, resp->response,
			resp->version, resp->seq_num);

	wake_up(&waitqueue);