ais: increase CCI timeout value to 600 msec

On some ADP board, after writing CCI command to sensor, msm_cci_wait
timeout issue happens sometimes during b2b stress testing.

All the error cases indicate needing 510 msec to get completion from irq,
so change the timeout value from 500 msec to 600 msec.

CRs-fixed: 2052210

Change-Id: Ie70a86de6b2d7eab823ad700be5ee748a3f5e800
Signed-off-by: Andy Sun <bins@codeaurora.org>
This commit is contained in:
Andy Sun 2017-05-25 14:43:49 +08:00
parent 96e3d4de6d
commit 49f15c63f7

View file

@ -32,7 +32,7 @@
#define CYCLES_PER_MICRO_SEC_DEFAULT 4915
#define CCI_MAX_DELAY 1000000
#define CCI_TIMEOUT msecs_to_jiffies(500)
#define CCI_TIMEOUT msecs_to_jiffies(600)
/* TODO move this somewhere else */
#define MSM_CCI_DRV_NAME "msm_cci"