discuss with vendor
Troika vib fix stop delay time
Change-Id: I6ff5a56adf7990b90e0edabb97907a8cef25d812
Signed-off-by: dengwei1 <dengwei1@motorola.com>
Reviewed-on: https://gerrit.mot.com/
1397445
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Wei Xu <xuwei9@mt.com>
Reviewed-by: Xiangpo Zhao <zhaoxp3@motorola.com>
Submit-Approved: Jira Key
static int aw8695_haptic_stop_delay(struct aw8695 *aw8695)
{
unsigned char reg_val = 0;
- unsigned int cnt = 100;
+ unsigned int cnt = 10;
while(cnt--) {
aw8695_i2c_read(aw8695, AW8695_REG_GLB_STATE, ®_val);
if((reg_val&0x0f) == 0x00) {
return 0;
}
- msleep(2);
+ msleep(10);
pr_debug("%s wait for standby, reg glb_state=0x%02x\n",
__func__, reg_val);
}