input: misc: mpu: fix acclerometer stuck
David Yu [Wed, 18 Dec 2013 12:43:32 +0000 (21:43 +0900)]
Bug 1426676

Change-Id: Ib98c0ac3f8a162a29863aa2eb58ba7819d74f393
Reviewed-on: http://git-master/r/347050
(cherry picked from commit 21d0036e84828c54a5a20bf76bde6ba3d1ad42c3)
Signed-off-by: David Yu <davyu@nvidia.com>
Reviewed-on: http://git-master/r/348610
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Harry Hong <hhong@nvidia.com>

drivers/input/misc/mpu/inv_gyro.c

index aad2d07..97498bf 100644 (file)
@@ -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;
 }