mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
Merge "msm: gsi: Updated the wait for completion time out"
This commit is contained in:
commit
abbf862f97
2 changed files with 5 additions and 3 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue