summaryrefslogtreecommitdiff
path: root/drivers/staging/iio/cdc
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2012-07-02 12:52:56 (GMT)
committerJonathan Cameron <jic23@kernel.org>2012-07-08 19:02:23 (GMT)
commite1dc7bee745f74b42685b4b0b0a24895966e545e (patch)
treeac17495a44a52a3197f8cba56d80b611cd78e732 /drivers/staging/iio/cdc
parent0932966b1ca03217c6e0c18375867b1a99ee5af0 (diff)
downloadlinux-fsl-qoriq-e1dc7bee745f74b42685b4b0b0a24895966e545e.tar.xz
iio: iio_buffer_register: Use correct channel when calculating masklength
The channel set assigned to the iio device is not necessarily the same has the channel set passed to iio_buffer_register. So to avoid possible complications always work with the channel set pass to iio_buffer_register and ignore the channel set assigned to the iio device. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/cdc')
0 files changed, 0 insertions, 0 deletions