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

Commit 2c014ea4 authored by Karthikeyan Ramasubramanian's avatar Karthikeyan Ramasubramanian Committed by Matt Wagantall
Browse files

soc: qcom: glink: Remove redundant reinit() of completion variable



The intent request completion variable is re-initialized after returning
from the prior wait. The redundant re-initialization of that completion
variable causes the receive intent event to be missed when that event
happens just before the wait.

Remove the redundant re-initialization of intent request completion
variable.

Change-Id: I3a7851ae5837496824898b827f490f27eb0e3afa
Signed-off-by: default avatarKarthikeyan Ramasubramanian <kramasub@codeaurora.org>
parent 8b48ff97
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -2219,7 +2219,6 @@ static int glink_tx_common(void *handle, void *pkt_priv,
		} else {
			/* request intent of correct size */
			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) {