summaryrefslogtreecommitdiffstats
path: root/drivers/iio/light/stk3310.c
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 12:34:54 +0200
commit1e1ec2861e0d4307267096c3f74c17298c1cde98 (patch)
treed95b7fdb9e7695a05043c119fd900f6fe8944ede /drivers/iio/light/stk3310.c
parentiio: Specify supported modes for buffers (diff)
downloadlinux-1e1ec2861e0d4307267096c3f74c17298c1cde98.tar.xz
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/light/stk3310.c')
0 files changed, 0 insertions, 0 deletions