diff options
author | Stefan Popa <stefan.popa@analog.com> | 2019-09-10 17:44:21 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2019-10-09 19:11:25 +0100 |
commit | 62df81b74393079debf04961c48cb22268fc5fab (patch) | |
tree | 2e24f7634ce18a3f618986227665b04eb8a9753e /COPYING | |
parent | d202ce4787e446556c6b9d01f84734c3f8174ba3 (diff) | |
download | linux-62df81b74393079debf04961c48cb22268fc5fab.tar.gz linux-62df81b74393079debf04961c48cb22268fc5fab.tar.bz2 linux-62df81b74393079debf04961c48cb22268fc5fab.zip |
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>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions