iio: inv_mpu6050: Clear timestamps fifo while resetting hardware fifo

[ Upstream commit 4dac0a8eef ]

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>
This commit is contained in:
Viorel Suman 2015-02-18 20:05:21 +02:00 • committed by Sasha Levin
commit 382fd035e6