diff options
| author | Mohammed <mjavid@codeaurora.org> | 2018-11-23 20:41:51 +0530 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-11-30 11:39:55 -0800 |
| commit | 8ec4a3cb24e7380f54f45ae97e1267f147c89709 (patch) | |
| tree | f46a0d3f2adc7145ffa2ec4d9c6f681358578eb6 | |
| parent | 58a9174f204e980b45317eec4e240f4afc3c24c0 (diff) | |
msm: ipa: Remove assert on ep empty
Device assert in ep empty
affecting LPM scenario.
Remove device assert in ep empty check.
which is not really required since IPA BAM
reset is taken care.
Change-Id: I57ae9ada7f15c335a181247675f10b607774fd14
Signed-off-by: Mohammed <mjavid@codeaurora.org>
| -rw-r--r-- | drivers/platform/msm/ipa/ipa_v2/ipa.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/drivers/platform/msm/ipa/ipa_v2/ipa.c b/drivers/platform/msm/ipa/ipa_v2/ipa.c index f1e27fd3d011..1e5eda8679a5 100644 --- a/drivers/platform/msm/ipa/ipa_v2/ipa.c +++ b/drivers/platform/msm/ipa/ipa_v2/ipa.c @@ -2483,8 +2483,8 @@ check_non_ap_ep_empty: ret = 0; } else if (retry) { retry--; - usleep_range(IPA_UC_WAIT_MIN_SLEEP, - IPA_UC_WAII_MAX_SLEEP); + usleep_range(IPA_UC_WAIT_MIN_SLEEP * 5, + IPA_UC_WAII_MAX_SLEEP * 5); goto check_non_ap_ep_empty; } else { IPAERR @@ -2548,11 +2548,8 @@ int ipa_q6_post_shutdown_cleanup(void) if (res) IPAERR("ep %d not empty\n", ipa2_get_ep_mapping(client_idx)); - else - res = ipa_uc_reset_pipe(client_idx); - } else { - res = ipa_uc_reset_pipe(client_idx); } + res = ipa_uc_reset_pipe(client_idx); if (res) BUG(); } |
