diff --git a/drivers/platform/msm/gsi/gsi.c b/drivers/platform/msm/gsi/gsi.c index 22ced4d42226..a79f3e5d9230 100644 --- a/drivers/platform/msm/gsi/gsi.c +++ b/drivers/platform/msm/gsi/gsi.c @@ -4509,7 +4509,7 @@ int gsi_halt_channel_ee(unsigned int chan_idx, unsigned int ee, int *code) GSI_EE_n_GSI_EE_GENERIC_CMD_OFFS(gsi_ctx->per.ee)); res = wait_for_completion_timeout(&gsi_ctx->gen_ee_cmd_compl, - msecs_to_jiffies(GSI_CMD_TIMEOUT)); + msecs_to_jiffies(GSI_STOP_CMD_TIMEOUT_MS)); if (res == 0) { GSIERR("chan_idx=%u ee=%u timed out\n", chan_idx, ee); res = -GSI_STATUS_TIMED_OUT; diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c index cc853c225749..42cd1260601e 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c @@ -3458,16 +3458,18 @@ static void ipa3_halt_q6_gsi_channels(bool prod) gsi_ep_cfg->ipa_gsi_chan_num, gsi_ep_cfg->ee, &code); } - if (ret == GSI_STATUS_SUCCESS) + if (ret == GSI_STATUS_SUCCESS) { IPADBG("halted gsi ch %d ee %d with code %d\n", gsi_ep_cfg->ipa_gsi_chan_num, gsi_ep_cfg->ee, code); - else + } else { IPAERR("failed to halt ch %d ee %d code %d\n", gsi_ep_cfg->ipa_gsi_chan_num, gsi_ep_cfg->ee, code); + ipa_assert(); + } } } }