summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Yu <davyu@nvidia.com>2013-12-18 21:43:32 +0900
committerHarry Hong <hhong@nvidia.com>2013-12-19 18:20:30 -0800
commit9c67a22f15e06b1126fed48362e3b79f3d025729 (patch)
treeef2876e040eeb3b8d807d64d18c10ac81beae9ef
parentd3486276363ff20058e5074f65f878729ade695c (diff)
input: misc: mpu: fix acclerometer stuck
Bug 1426676 Change-Id: Ib98c0ac3f8a162a29863aa2eb58ba7819d74f393 Reviewed-on: http://git-master/r/347050 Signed-off-by: David Yu <davyu@nvidia.com> Reviewed-on: http://git-master/r/347808 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Harry Hong <hhong@nvidia.com>
-rw-r--r--drivers/input/misc/mpu/inv_gyro.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/misc/mpu/inv_gyro.c b/drivers/input/misc/mpu/inv_gyro.c
index aad2d075a89c..97498bffd33f 100644
--- a/drivers/input/misc/mpu/inv_gyro.c
+++ b/drivers/input/misc/mpu/inv_gyro.c
@@ -816,7 +816,7 @@ static int nvi_vreg_en_all(struct inv_gyro_state_s *inf)
for (i = 0; i < ARRAY_SIZE(nvi_vregs); i++)
err |= nvi_vreg_en(inf, i);
if (err == 1)
- mdelay(8);
+ mdelay(9);
return err;
}