aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-07-09 10:00:00 +0100
committerJonathan Cameron <jic23@kernel.org>2012-07-09 18:18:16 +0100
commitee0312a05ddceb0fc871f39b8f56b4cabc5176aa (patch)
treeecee0e100f006c8b8bb011e7beb90aa250f9180d /drivers/iio
parentstaging:iio:ad7793: Use iio_validate_scan_mask_onehot (diff)
downloadlinux-dev-ee0312a05ddceb0fc871f39b8f56b4cabc5176aa.tar.xz
linux-dev-ee0312a05ddceb0fc871f39b8f56b4cabc5176aa.zip
staging:iio:ade7758: Use iio_validate_scan_mask_onehot
Only one of the channels of the ade7758 may be sampled at a time. Use the new validate_scan_mask callback and the iio_validate_scan_mask_onehot function to implement this restriction. Previously this was implemented using available_scan_masks, but this requires a individual scan mask for each channel. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions