Merge "soc: qcom: glink: Move get reference to valid location"
This commit is contained in:
commit
586584b2b2
1 changed files with 1 additions and 1 deletions
|
@ -1915,13 +1915,13 @@ check_ctx:
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx->transport_ptr = xprt_ctx;
|
ctx->transport_ptr = xprt_ctx;
|
||||||
|
rwref_get(&ctx->ch_state_lhb2);
|
||||||
list_add_tail(&ctx->port_list_node, &xprt_ctx->channels);
|
list_add_tail(&ctx->port_list_node, &xprt_ctx->channels);
|
||||||
|
|
||||||
GLINK_INFO_PERF_CH_XPRT(ctx, xprt_ctx,
|
GLINK_INFO_PERF_CH_XPRT(ctx, xprt_ctx,
|
||||||
"%s: local:GLINK_CHANNEL_CLOSED\n",
|
"%s: local:GLINK_CHANNEL_CLOSED\n",
|
||||||
__func__);
|
__func__);
|
||||||
}
|
}
|
||||||
rwref_get(&ctx->ch_state_lhb2);
|
|
||||||
spin_unlock_irqrestore(&xprt_ctx->xprt_ctx_lock_lhb1, flags);
|
spin_unlock_irqrestore(&xprt_ctx->xprt_ctx_lock_lhb1, flags);
|
||||||
rwref_write_put(&xprt_ctx->xprt_state_lhb0);
|
rwref_write_put(&xprt_ctx->xprt_state_lhb0);
|
||||||
mutex_lock(&xprt_ctx->xprt_dbgfs_lock_lhb4);
|
mutex_lock(&xprt_ctx->xprt_dbgfs_lock_lhb4);
|
||||||
|
|
Loading…
Add table
Reference in a new issue