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

Commit d841d69c authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Jigarkumar Zala
Browse files

msm: camera: icp: Reduce delay between subsequent A5 polls



Reduce the sleep time between subsequent polls while
trying to read the wfi register as part of A5 disable.
This will reduce the latency in the system while destroying
topology.

Change-Id: Id493fcc7158aba2632eba5bf6cfd44669c70382f
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent ae8d33fa
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -42,8 +42,8 @@

#define HFI_MAX_POLL_TRY 5

#define HFI_MAX_PC_POLL_TRY 50
#define HFI_POLL_TRY_SLEEP 20
#define HFI_MAX_PC_POLL_TRY 150
#define HFI_POLL_TRY_SLEEP 2

static struct hfi_info *g_hfi;
unsigned int g_icp_mmu_hdl;