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

Commit 7b99f15c authored by Dhoat Harpal's avatar Dhoat Harpal
Browse files

soc: qcom: glink: Fix uninitialzed return value



Initialize the return value in the glink tx scheduler
function.
CRs-Fixed: 1081425

Change-Id: I7cad7a724666f34bce73d40e4975373604fb1e87
Signed-off-by: default avatarChris Lew <clew@codeaurora.org>
Signed-off-by: default avatarDhoat Harpal <hdhoat@codeaurora.org>
parent 64120cd2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5376,7 +5376,7 @@ static int glink_scheduler_tx(struct channel_ctx *ctx,
	size_t txd_len = 0;
	size_t tx_len = 0;
	uint32_t num_pkts = 0;
	int ret;
	int ret = 0;

	spin_lock_irqsave(&ctx->tx_lists_lock_lhc3, flags);
	while (txd_len < xprt_ctx->mtu &&