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

Commit 19ffa7e8 authored by Tingwei Zhang's avatar Tingwei Zhang
Browse files

soc: qcom: qdss_bridge: keep original channel after ssr



Current working channel should be preserved after subsystem
restart. Correct the channel name for HW channel.

Change-Id: I8dcd5b236fa462bfbdad67ab016ea455a33a0592
Signed-off-by: default avatarTingwei Zhang <tingwei@codeaurora.org>
parent f84134c2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -879,7 +879,7 @@ static int qdss_mhi_probe(struct mhi_device *mhi_dev,
			return -EINVAL;
		if (!strcmp(id->chan, "QDSS"))
			curr_chan = QDSS;
		if (!strcmp(id->chan, "QDSS_HW"))
		if (!strcmp(id->chan, "IP_HW_QDSS"))
			curr_chan = QDSS_HW;
	} else if (dev_state == MHI_STATE_RESET) {
		if (strcmp(id->chan, str_mhi_curr_chan[curr_chan]))
@@ -891,7 +891,7 @@ static int qdss_mhi_probe(struct mhi_device *mhi_dev,
		}
		if (!strcmp(id->chan, "QDSS"))
			curr_chan = QDSS;
		if (!strcmp(id->chan, "QDSS_HW"))
		if (!strcmp(id->chan, "IP_HW_QDSS"))
			curr_chan = QDSS_HW;
	}