linux_dsm_epyc7002/drivers/iio/imu/inv_mpu6050
Martin Kelly cbf73ae59b iio: imu: inv_mpu6050: make loop a do-while
Prior to this loop, we check if fifo_count < bytes_per_datum and bail if
so. This means that when we hit the loop, we know that fifo_count >=
bytes_per_datum, so the check is unneeded and we can turn the loop into
a do-while for a slight performance improvement.

Signed-off-by: Martin Kelly <mkelly@xevo.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-05-12 10:01:41 +01:00
..
inv_mpu_acpi.c iio: imu: inv_mpu6050: Remove duplicate NULL check 2017-12-02 10:40:11 +00:00
inv_mpu_core.c iio: imu: inv_mpu6050: minor wording fixes 2018-05-06 18:05:51 +01:00
inv_mpu_i2c.c iio: imu: inv_mpu6050: minor wording fixes 2018-05-06 18:05:51 +01:00
inv_mpu_iio.h iio: imu: inv_mpu6050: fix user_ctrl register overwritten 2018-05-06 18:01:20 +01:00
inv_mpu_ring.c iio: imu: inv_mpu6050: make loop a do-while 2018-05-12 10:01:41 +01:00
inv_mpu_spi.c iio: imu: inv_mpu6050: fix user_ctrl register overwritten 2018-05-06 18:01:20 +01:00
inv_mpu_trigger.c iio: imu: inv_mpu6050: fix user_ctrl register overwritten 2018-05-06 18:01:20 +01:00
Kconfig iio:imu:mpu6050: icm20608 initial support 2016-07-03 12:39:57 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00