summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/accel
diff options
context:
space:
mode:
authorLars-Peter Clausen2014-11-26 18:55:11 +0100
committerJonathan Cameron2014-12-12 13:28:30 +0100
commit4ae03019923f7dd5785b69a513b74ccc1c3f7766 (patch)
treeb7e0e5bb1f7bf139e5499c71dd6e054c52ebf645 /drivers/staging/iio/accel
parentstaging:iio:sca3000: Register same channels for device and buffer (diff)
downloadkernel-qcow2-linux-4ae03019923f7dd5785b69a513b74ccc1c3f7766.tar.gz
kernel-qcow2-linux-4ae03019923f7dd5785b69a513b74ccc1c3f7766.tar.xz
kernel-qcow2-linux-4ae03019923f7dd5785b69a513b74ccc1c3f7766.zip
staging:iio:dummy: Register same channels for device and buffer
In preparation for moving the buffer registration to the core make sure to register the same channel array for the device and the buffer. Currently the output voltage and the activity channels are not registered for the buffer, setting its scan index to -1 will make sure that it is skipped for the buffer. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/staging/iio/accel')
0 files changed, 0 insertions, 0 deletions