Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ec4a3cb authored by Mohammed's avatar Mohammed Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarMohammed <mjavid@codeaurora.org>
parent 58a9174f
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -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();
		}