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

Commit feb6a24b authored by Mohammed Javid's avatar Mohammed Javid Committed by Gerrit - the friendly Code Review server
Browse files

msm: ipa4: Fix channel state when GSI command times out



Because of not updating channel state in GSI channel command timeout case
retying to stop gsi channel based previous channel state, it leads gsi
firmware return error. Added changes to update channel state as default
state if gsi channel command timeout.

Change-Id: Icade8a75544689d7624461fd9b03b179923feb0b
Acked-by: default avatarAshok Vuyyuru <avuyyuru@qti.qualcomm.com>
Signed-off-by: default avatarMohammed Javid <mjavid@codeaurora.org>
parent 20faea80
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -212,6 +212,8 @@ static void gsi_channel_state_change_wait(unsigned long chan_hdl,
			gsi_pending_intr);
	}

	GSIDBG("invalidating the channel state when timeout happens\n");
	ctx->state = curr_state;
}

static void gsi_handle_ch_ctrl(int ee)