]> 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)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 24 Apr 2015 21:13:50 +0000 (17:13 -0400)
commit382fd035e6c1eff2b807663bc5d4672408d31c53
treef13876fedfde6f69efdb408808252dd2dbce6015
parentf37f8f40ba52cd90084dcc476c5a1a53fc9569c3
iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo

[ Upstream commit 4dac0a8eefd55bb1f157d1a5a084531334a2d74c ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c