summaryrefslogtreecommitdiffstats
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
authorLars-Peter Clausen2015-05-29 18:14:22 +0200
committerJonathan Cameron2015-06-01 12:34:54 +0200
commit1e1ec2861e0d4307267096c3f74c17298c1cde98 (patch)
treed95b7fdb9e7695a05043c119fd900f6fe8944ede /drivers/iio/magnetometer
parentiio: Specify supported modes for buffers (diff)
downloadkernel-qcow2-linux-1e1ec2861e0d4307267096c3f74c17298c1cde98.tar.gz
kernel-qcow2-linux-1e1ec2861e0d4307267096c3f74c17298c1cde98.tar.xz
kernel-qcow2-linux-1e1ec2861e0d4307267096c3f74c17298c1cde98.zip
iio: Require strict scan mask matching in hardware mode
In hardware mode we can not use the software demuxer, this means that the selected scan mask needs to match one of the available scan masks exactly. It also means that all attached buffers need to use the same scan mask. Given that when operating in hardware mode there is typically only a single buffer attached to the device this not an issue. Add a sanity check to make sure that only a single buffer is attached in hardware mode nevertheless. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/magnetometer')
0 files changed, 0 insertions, 0 deletions