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

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

Merge "msm: ipa3: Changes to check return code after halt command timeout"

parents db9f7f48 10a68ad7
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -4510,11 +4510,8 @@ int gsi_halt_channel_ee(unsigned int chan_idx, unsigned int ee, int *code)

	res = wait_for_completion_timeout(&gsi_ctx->gen_ee_cmd_compl,
		msecs_to_jiffies(GSI_STOP_CMD_TIMEOUT_MS));
	if (res == 0) {
	if (res == 0)
		GSIERR("chan_idx=%u ee=%u timed out\n", chan_idx, ee);
		res = -GSI_STATUS_TIMED_OUT;
		goto free_lock;
	}

	gsi_ctx->scratch.word0.val = gsi_readl(gsi_ctx->base +
		GSI_EE_n_CNTXT_SCRATCH_0_OFFS(gsi_ctx->per.ee));