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

Commit 434c5d12 authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian
Browse files

drivers: qcom: ipc_router_hsic_xprt: Clear the subsystem restart flag



When the peripheral resets and then boots up, the work item to read the
data from the underlying transport exits since the link is in reset state.
This in turn causes the IPC Router initialization handshake protocol to
stop prematurely.

Clear the subsystem restart flag once the link is up.

CRs-Fixed: 676911
Change-Id: Iea24fa172ba9817849b35b79822c7a61833695a1
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 70d51296
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -448,6 +448,9 @@ static int msm_ipc_router_hsic_remote_probe(struct platform_device *pdev)
		return rc;
	}
	hsic_xprtp->pdev = pdev;
	mutex_lock(&hsic_xprtp->ss_reset_lock);
	hsic_xprtp->ss_reset = 0;
	mutex_unlock(&hsic_xprtp->ss_reset_lock);
	msm_ipc_router_xprt_notify(&hsic_xprtp->xprt,
				   IPC_ROUTER_XPRT_EVENT_OPEN, NULL);
	D("%s: Notified IPC Router of %s OPEN\n",