linux-stable/drivers/iio/imu/inv_mpu6050
Jean-Baptiste Maneyrol edddddd98c iio: imu: inv_mpu6050: fix user_ctrl register overwritten
When in spi mode, we are setting i2c disable bit in user_ctrl
register. But the register is overwritten after when turning fifo
on. So save user_ctrl init value and always use it when updating
the register.

Signed-off-by: Jean-Baptiste Maneyrol <jmaneyrol@invensense.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-05-06 18:01:20 +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: fix user_ctrl register overwritten 2018-05-06 18:01:20 +01:00
inv_mpu_i2c.c iio: imu: inv_mpu6050: use i2c mux only for chip with i2c aux bus 2018-05-06 17:48:28 +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: fix user_ctrl register overwritten 2018-05-06 18:01:20 +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