diff options
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/kfifo_buf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/kfifo_buf.c b/drivers/iio/kfifo_buf.c index d654f42e16aa..95c6fc81c2c7 100644 --- a/drivers/iio/kfifo_buf.c +++ b/drivers/iio/kfifo_buf.c @@ -38,6 +38,7 @@ static int iio_request_update_kfifo(struct iio_buffer *r) kfifo_free(&buf->kf); ret = __iio_allocate_kfifo(buf, buf->buffer.bytes_per_datum, buf->buffer.length); + buf->update_needed = false; } else { kfifo_reset_out(&buf->kf); } |