]> git.karo-electronics.de Git - linux-beck.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)
committerJonathan Cameron <jic23@kernel.org>
Sat, 14 Mar 2015 18:36:17 +0000 (18:36 +0000)
commit4dac0a8eefd55bb1f157d1a5a084531334a2d74c
tree61a0315ffb38f32d350c6d44697478abe6b3e739
parent8d09f48adfd282157f6afc94d2502b44156cb12f
iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo

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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c