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

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

Merge "soc: qcom: glink: Move get reference to valid location"

parents a8e264b6 76d9ba5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1931,13 +1931,13 @@ static struct channel_ctx *ch_name_to_ch_ctx_create(
		}

		ctx->transport_ptr = xprt_ctx;
		rwref_get(&ctx->ch_state_lhb2);
		list_add_tail(&ctx->port_list_node, &xprt_ctx->channels);

		GLINK_INFO_PERF_CH_XPRT(ctx, xprt_ctx,
			"%s: local:GLINK_CHANNEL_CLOSED\n",
			__func__);
	}
	rwref_get(&ctx->ch_state_lhb2);
	spin_unlock_irqrestore(&xprt_ctx->xprt_ctx_lock_lhb1, flags);
	rwref_write_put(&xprt_ctx->xprt_state_lhb0);
	mutex_lock(&xprt_ctx->xprt_dbgfs_lock_lhb4);