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

Commit a4bc63cf authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: ipa3: Changes made to mitigate OUT_OF_BUFEER error"

parents 0278a6b5 196d2b76
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -18,7 +18,7 @@
#define GSI_CMD_TIMEOUT (5*HZ)
#define GSI_START_CMD_TIMEOUT_MS 1000
#define GSI_CMD_POLL_CNT 5
#define GSI_STOP_CMD_TIMEOUT_MS 10
#define GSI_STOP_CMD_TIMEOUT_MS 200
#define GSI_MAX_CH_LOW_WEIGHT 15

#define GSI_RESET_WA_MIN_SLEEP 1000
@@ -153,6 +153,14 @@ static void gsi_channel_state_change_wait(unsigned long chan_hdl,
		gsi_pending_intr = gsi_readl(gsi_ctx->base +
			GSI_EE_n_CNTXT_SRC_GSI_CH_IRQ_OFFS(ee));

		/*
		 * Continue in the loop if a pending interrupt of
		 * corresponding channel is present till an interrupt
		 * is received.
		 */
		if ((gsi_pending_intr >> chan_hdl) & 1)
			poll_cnt = 0;

		GSIDBG("GSI wait on chan_hld=%lu chan=%lu state=%u intr=%u\n",
			chan_hdl,
			ch,