aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Cercueil <[email protected]>2015-05-15 17:18:36 +0200
committerJonathan Cameron <[email protected]>2015-05-16 10:58:36 +0100
commitc2a8b623a089d52c199e305e7905829907db8ec8 (patch)
tree5c9cc6e73c81dd98a7aa6ba6b5b5d47babab3a09 /tools/perf/scripts/python
parent7323d59862802ca109451eeda9777024a7625509 (diff)
iio: adis16400: Compute the scan mask from channel indices
We unfortunately can't use ~0UL for the scan mask to indicate that the only valid scan mask is all channels selected. The IIO core needs the exact mask to work correctly and not a super-set of it. So calculate the masked based on the channels that are available for a particular device. Signed-off-by: Paul Cercueil <[email protected]> Signed-off-by: Lars-Peter Clausen <[email protected]> Fixes: 5eda3550a3cc ("staging:iio:adis16400: Preallocate transfer message") Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions