OpenCloudOS-Kernel/drivers/iio/imu
Marcin Niestroj 01d1f7a99e iio: bmi160: Fix time needed to sleep after command execution
Datasheet specifies typical and maximum execution times for which CMD
register is occupied after previous command execution. We took these
values as minimum and maximum time for usleep_range() call before making
a new command execution.

To be sure, that the CMD register is no longer occupied we need to wait
*at least* the maximum time specified by datasheet.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-12-30 10:52:00 +00:00
..
bmi160 iio: bmi160: Fix time needed to sleep after command execution 2016-12-30 10:52:00 +00:00
inv_mpu6050 iio: imu: inv_mpu6050: inform the i2c mux core about how it is used 2016-11-12 14:44:45 +00:00
Kconfig iio: imu: Add initial support for Bosch BMI160 2016-04-16 13:39:21 +01:00
Makefile iio: imu: Add initial support for Bosch BMI160 2016-04-16 13:39:21 +01:00
adis.c iio:adis: Add support for manual self-test flag clear 2016-04-16 13:42:43 +01:00
adis16400.h iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400_buffer.c iio: adis16400: Fix burst transfer for adis16448 2015-05-16 11:01:20 +01:00
adis16400_core.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
adis16480.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
adis_buffer.c iio: adis_buffer: Fix out-of-bounds memory access 2015-12-05 17:32:04 +00:00
adis_trigger.c iio: imu: Use iio_trigger_get for indio_dev->trig assignment 2015-03-28 13:51:40 +00:00
kmx61.c iio: remove unused gpio consumer.h include 2016-04-03 10:27:47 +01:00