commit | 62df81b74393079debf04961c48cb22268fc5fab | [log] [tgz] |
---|---|---|
author | Stefan Popa <stefan.popa@analog.com> | Tue Sep 10 17:44:21 2019 +0300 |
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | Wed Oct 09 19:11:25 2019 +0100 |
tree | 2e24f7634ce18a3f618986227665b04eb8a9753e | |
parent | d202ce4787e446556c6b9d01f84734c3f8174ba3 [diff] |
iio: accel: adxl372: Fix push to buffers lost samples One in two sample sets was lost by multiplying fifo_set_size with sizeof(u16). Also, the double number of available samples were pushed to the iio buffers. Signed-off-by: Stefan Popa <stefan.popa@analog.com> Fixes: f4f55ce38e5f ("iio:adxl372: Add FIFO and interrupts support") Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>