]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo
authorViorel Suman <viorel.suman@gmail.com>
Wed, 18 Feb 2015 18:05:21 +0000 (20:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 19 Apr 2015 08:10:19 +0000 (10:10 +0200)
commit6cf22b22f477fc59341d96f1d2a56f2b6f09b5e7
treeae6b377e83fad93c9788c947426db37d5bcbb90f
parent4729612ec9c0e7ace7611145f0325d01dcb5ee7d
iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo

commit 4dac0a8eefd55bb1f157d1a5a084531334a2d74c upstream.

A hardware fifo reset always imply an invalidation of the
existing timestamps, so we'll clear timestamps fifo on
successfull hardware fifo reset.

Signed-off-by: Viorel Suman <viorel.suman@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c