iio: imu: inv_mpu6050: reduce sleep time when turning regulators on
authorJean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Wed, 19 Feb 2020 14:39:52 +0000 (15:39 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 8 Mar 2020 17:28:38 +0000 (17:28 +0000)
commit398da9942359efad600b9efb33e6573fedc9276d
tree9ad89bd2be5565a068269f31cd45735f59e6a615
parentc1bfe9c81812c94b9816537995e12e0406ec7420
iio: imu: inv_mpu6050: reduce sleep time when turning regulators on

Turning vdd regulator on requires a consequent sleep for the
chip to power on correctly.
Turning vddio regulator is much faster.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_core.c