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

Commit 304ba8c5 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ADSPRPC: Update port state on glink open error"

parents 1c973dfc 6e1d26bc
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -2090,8 +2090,11 @@ static int fastrpc_glink_open(int cid)
	cfg->notify_rx_intent_req = fastrpc_glink_notify_rx_intent_req;
	handle = glink_open(cfg);
	VERIFY(err, !IS_ERR_OR_NULL(handle));
	if (err)
	if (err) {
		if (link->port_state == FASTRPC_LINK_CONNECTING)
			link->port_state = FASTRPC_LINK_DISCONNECTED;
		goto bail;
	}
	me->channel[cid].chan = handle;
bail:
	return err;