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

Commit ea869b78 authored by Iliya Varadzhakov's avatar Iliya Varadzhakov Committed by Gerrit - the friendly Code Review server
Browse files

msm: cpp: Reduce CPP timeout in case of hardware delay



If CPP driver does not receive interrupt from the
microcontroller for 300ms it resets IRQs and loads
firmware to the microcontroller again. In this period
some frames provided by VFE may be lost. To avoid
frame loss the timeout is set to 50ms.

Change-Id: I6bf9b2ac35118e4ff067f6c02b7608aa6fa2286e
Signed-off-by: default avatarIliya Varadzhakov <ivarad@codeaurora.org>
parent 2e1cd8de
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@

#define ENABLE_CPP_LOW		0

#define CPP_CMD_TIMEOUT_MS	300
#define CPP_CMD_TIMEOUT_MS	50
#define MSM_CPP_INVALID_OFFSET	0x00000000
#define MSM_CPP_NOMINAL_CLOCK	266670000
#define MSM_CPP_TURBO_CLOCK	320000000