Loading drivers/soc/qcom/glink.c +3 −3 Original line number Diff line number Diff line Loading @@ -1720,8 +1720,8 @@ static int glink_tx_common(void *handle, void *pkt_priv, return -EAGAIN; } else { /* request intent of correct size */ INIT_COMPLETION(ctx->int_req_ack_complete); INIT_COMPLETION(ctx->int_req_complete); reinit_completion(&ctx->int_req_ack_complete); reinit_completion(&ctx->int_req_complete); ret = ctx->transport_ptr->ops->tx_cmd_rx_intent_req( ctx->transport_ptr->ops, ctx->lcid, size); if (ret) Loading @@ -1740,7 +1740,7 @@ static int glink_tx_common(void *handle, void *pkt_priv, /* wait for the rx_intent from remote side */ do { wait_for_completion(&ctx->int_req_complete); INIT_COMPLETION(ctx->int_req_complete); reinit_completion(&ctx->int_req_complete); } while (ch_pop_remote_rx_intent(ctx, size, &riid)); } } Loading drivers/soc/qcom/glink_private.h +4 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,10 @@ #ifndef _SOC_QCOM_GLINK_PRIVATE_H_ #define _SOC_QCOM_GLINK_PRIVATE_H_ #ifdef INIT_COMPLETION #define reinit_completion(x) INIT_COMPLETION(*(x)) #endif /* INIT_COMPLETION */ /* Logging Macros */ enum { QCOM_GLINK_INFO = 1U << 0, Loading Loading
drivers/soc/qcom/glink.c +3 −3 Original line number Diff line number Diff line Loading @@ -1720,8 +1720,8 @@ static int glink_tx_common(void *handle, void *pkt_priv, return -EAGAIN; } else { /* request intent of correct size */ INIT_COMPLETION(ctx->int_req_ack_complete); INIT_COMPLETION(ctx->int_req_complete); reinit_completion(&ctx->int_req_ack_complete); reinit_completion(&ctx->int_req_complete); ret = ctx->transport_ptr->ops->tx_cmd_rx_intent_req( ctx->transport_ptr->ops, ctx->lcid, size); if (ret) Loading @@ -1740,7 +1740,7 @@ static int glink_tx_common(void *handle, void *pkt_priv, /* wait for the rx_intent from remote side */ do { wait_for_completion(&ctx->int_req_complete); INIT_COMPLETION(ctx->int_req_complete); reinit_completion(&ctx->int_req_complete); } while (ch_pop_remote_rx_intent(ctx, size, &riid)); } } Loading
drivers/soc/qcom/glink_private.h +4 −0 Original line number Diff line number Diff line Loading @@ -12,6 +12,10 @@ #ifndef _SOC_QCOM_GLINK_PRIVATE_H_ #define _SOC_QCOM_GLINK_PRIVATE_H_ #ifdef INIT_COMPLETION #define reinit_completion(x) INIT_COMPLETION(*(x)) #endif /* INIT_COMPLETION */ /* Logging Macros */ enum { QCOM_GLINK_INFO = 1U << 0, Loading