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

Commit 84157842 authored by Mohammed Javid's avatar Mohammed Javid
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 4b54d9aa
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)