iio: fix drivers that check buffer->scan_mask
authorOctavian Purdila <octavian.purdila@intel.com>
Mon, 2 Mar 2015 19:03:05 +0000 (21:03 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sat, 7 Mar 2015 19:17:07 +0000 (19:17 +0000)
If the in-kernel push interface is used we may have a different masks
on the device buffer and the kernel buffer and in this case the device
should generate data for the reunion of the buffers, which is
available at indio_dev->active_scan_mask.

Compiled tested only except for bmc150-accel which was tested at
runtime with the hardware.

Signed-off-by: Octavian Purdila <octavian.purdila@intel.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>

No differences found