iio: imu: mpu6050: fix INV_MPU6050_REG_UP_TIME delay
authorMatt Ranostay <matt.ranostay@intel.com>
Mon, 22 Feb 2016 21:39:08 +0000 (13:39 -0800)
committerJonathan Cameron <jic23@kernel.org>
Thu, 25 Feb 2016 19:48:47 +0000 (19:48 +0000)
commit8f356be3fe098385e7a79ce893114ddcf8ad7d78
tree99586015a5949b0bc912eab83dad3c8e62487d51
parent115f0341bcac7734a78561791700af0c5c0b207d
iio: imu: mpu6050: fix INV_MPU6050_REG_UP_TIME delay

replace msleep(INV_MPU6050_REG_UP_TIME) with usleep_range calls
due to fact the wait time is under 20 milliseconds.

Signed-off-by: Matt Ranostay <matt.ranostay@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c
drivers/iio/imu/inv_mpu6050/inv_mpu_i2c.c
drivers/iio/imu/inv_mpu6050/inv_mpu_iio.h
This page took 0.02508 seconds and 5 git commands to generate.