|
@@ -966,7 +966,7 @@ static int iio_buffer_update_demux(struct iio_dev *indio_dev,
|
|
|
|
|
|
/* Now we have the two masks, work from least sig and build up sizes */
|
|
/* Now we have the two masks, work from least sig and build up sizes */
|
|
for_each_set_bit(out_ind,
|
|
for_each_set_bit(out_ind,
|
|
- indio_dev->active_scan_mask,
|
|
|
|
|
|
+ buffer->scan_mask,
|
|
indio_dev->masklength) {
|
|
indio_dev->masklength) {
|
|
in_ind = find_next_bit(indio_dev->active_scan_mask,
|
|
in_ind = find_next_bit(indio_dev->active_scan_mask,
|
|
indio_dev->masklength,
|
|
indio_dev->masklength,
|