]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
iio: adc: ti-ads8688: fix timestamp is not updated in buffer
authorSean Nyekjaer <sean@geanix.com>
Tue, 7 May 2019 08:23:04 +0000 (10:23 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 9 Jun 2019 07:16:10 +0000 (09:16 +0200)
commit273ec0ffa4633aebda963daadd99b387dd5fff9c
tree75993bee01003c5312efe53a3bde4b25f335f05e
parentfb304841e95845ad131b6762ed2231c4302f8743
iio: adc: ti-ads8688: fix timestamp is not updated in buffer

commit e6d12298310fa1dc11f1d747e05b168016057fdd upstream.

When using the hrtimer iio trigger timestamp isn't updated.
If we use iio_get_time_ns it is updated correctly.

Fixes: 2a86487786b5c ("iio: adc: ti-ads8688: add trigger and buffer support")
Signed-off-by: Sean Nyekjaer <sean@geanix.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/ti-ads8688.c