diff options
| author | Jonathan Cameron <jic23@kernel.org> | 2016-10-08 19:39:04 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jic23@kernel.org> | 2016-10-23 21:33:58 +0300 |
| commit | 271a25f6480d51225abc2616df6c96e5979a7ffa (patch) | |
| tree | e93d2f2132b13649d202b89a152572879b69ff29 /scripts | |
| parent | d1bf1a865fe6b391208efab532b1e6fc912e5bed (diff) | |
| download | linux-271a25f6480d51225abc2616df6c96e5979a7ffa.tar.xz | |
staging:iio:accel:sca3000 Fix clearing of flag + setting of size of scan.
Not clearing the stuff_to_read flag can lead to a false flag being set
on restarting the buffer if the data was not all read the previous time.
The size of the scan is needed to ensure the function
iio_buffer_read_first_n_outer actually tries to read the data.
This stuff has been broken for some time so not stable material.
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
