diff options
Diffstat (limited to 'drivers/iio/industrialio-buffer.c')
| -rw-r--r-- | drivers/iio/industrialio-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/industrialio-buffer.c b/drivers/iio/industrialio-buffer.c index 36b1ae92e239..9f1a14009901 100644 --- a/drivers/iio/industrialio-buffer.c +++ b/drivers/iio/industrialio-buffer.c | |||
| @@ -966,7 +966,7 @@ static int iio_buffer_update_demux(struct iio_dev *indio_dev, | |||
| 966 | 966 | ||
| 967 | /* Now we have the two masks, work from least sig and build up sizes */ | 967 | /* Now we have the two masks, work from least sig and build up sizes */ |
| 968 | for_each_set_bit(out_ind, | 968 | for_each_set_bit(out_ind, |
| 969 | indio_dev->active_scan_mask, | 969 | buffer->scan_mask, |
| 970 | indio_dev->masklength) { | 970 | indio_dev->masklength) { |
| 971 | in_ind = find_next_bit(indio_dev->active_scan_mask, | 971 | in_ind = find_next_bit(indio_dev->active_scan_mask, |
| 972 | indio_dev->masklength, | 972 | indio_dev->masklength, |
