Merge "msm: gsi: Updated the wait for completion time out"

This commit is contained in:
qctecmdr 2021-01-12 22:39:51 -08:00 • committed by Gerrit - the friendly Code Review server
commit abbf862f97
2 changed files with 5 additions and 3 deletions

View file

@ -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;

View file

@ -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();
}
}
}
}