From: Octavian Purdila Date: Mon, 2 Mar 2015 19:03:05 +0000 (+0200) Subject: iio: fix drivers that check buffer->scan_mask X-Git-Tag: omap-for-v4.2/o2_dc~218^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70dddeee8945a0e62525a278ae7b91778f82f765;p=pandora-kernel.git iio: fix drivers that check buffer->scan_mask 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 Cc: Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed