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

Commit bbc4edee 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 c3715e11
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -219,6 +219,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)