mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
Merge "msm: ipa: Retry gsi channel stop for producer channels"
This commit is contained in:
commit
b58a50349a
1 changed files with 4 additions and 8 deletions
|
|
@ -7930,15 +7930,11 @@ static int __ipa3_stop_gsi_channel(u32 clnt_hdl)
|
|||
client_type);
|
||||
}
|
||||
}
|
||||
if (IPA_CLIENT_IS_PROD(ep->client)) {
|
||||
IPADBG("Calling gsi_stop_channel ch:%lu\n",
|
||||
ep->gsi_chan_hdl);
|
||||
res = gsi_stop_channel(ep->gsi_chan_hdl);
|
||||
IPADBG("gsi_stop_channel ch: %lu returned %d\n",
|
||||
ep->gsi_chan_hdl, res);
|
||||
return res;
|
||||
}
|
||||
|
||||
/*
|
||||
* Apply the GSI stop retry logic if GSI returns err code to retry.
|
||||
* Apply the retry logic for ipa_client_prod as well as ipa_client_cons.
|
||||
*/
|
||||
for (i = 0; i < IPA_GSI_CHANNEL_STOP_MAX_RETRY; i++) {
|
||||
IPADBG("Calling gsi_stop_channel ch:%lu\n",
|
||||
ep->gsi_chan_hdl);
|
||||
|
|
|
|||
Loading…
Reference in a new issue