summaryrefslogtreecommitdiff
path: root/drivers/iio/magnetometer
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-05-29 18:14:22 +0200
committerJonathan Cameron <jic23@kernel.org>2015-06-01 11:34:54 +0100
commit1e1ec2861e0d4307267096c3f74c17298c1cde98 (patch)
treed95b7fdb9e7695a05043c119fd900f6fe8944ede /drivers/iio/magnetometer
parent225d59adf1c899176cce0fc80e42b1d1c12f109f (diff)
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