Skip to content

Commit 7c7cc3e

Browse files
committed
Revert "ipa_v3: Mitigate usleep_range calls"
This reverts commit a990708. Signed-off-by: Rapherion Rollerscaperers <[email protected]>
1 parent c77acb2 commit 7c7cc3e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

drivers/platform/msm/ipa/ipa_v3/ipa_uc.c

+5-2
Original file line numberDiff line numberDiff line change
@@ -532,8 +532,11 @@ static int ipa3_uc_send_cmd_64b_param(u32 cmd_lo, u32 cmd_hi, u32 opcode,
532532
break;
533533
}
534534
}
535-
usleep_range(IPA_UC_POLL_SLEEP_USEC,
536-
IPA_UC_POLL_SLEEP_USEC * 1.2);
535+
if (ipa3_ctx->apply_rg10_wa)
536+
udelay(IPA_UC_POLL_SLEEP_USEC);
537+
else
538+
usleep_range(IPA_UC_POLL_SLEEP_USEC,
539+
IPA_UC_POLL_SLEEP_USEC);
537540
}
538541

539542
if (index == IPA_UC_POLL_MAX_RETRY) {

0 commit comments

Comments
 (0)