diff --git a/drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c b/drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c index f715f0bf2824..c356ae76bb01 100644 --- a/drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c +++ b/drivers/platform/msm/ipa/ipa_clients/ipa_mhi_client.c @@ -1669,7 +1669,8 @@ int ipa_mhi_connect_pipe(struct ipa_mhi_connect_params *in, u32 *clnt_hdl) internal.start.gsi.mhi = &channel->ch_scratch.mhi; internal.start.gsi.cached_gsi_evt_ring_hdl = &channel->cached_gsi_evt_ring_hdl; - internal.start.gsi.evchid = channel->index; + internal.start.gsi.evchid = channel->ch_ctx_host.erindex - + ipa_mhi_client_ctx->first_er_idx; res = ipa_connect_mhi_pipe(&internal, clnt_hdl); if (res) {