summaryrefslogtreecommitdiffstats
path: root/drivers/iio/imu/adis16400.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-01-16 12:48:00 +0000
committerJonathan Cameron <jic23@kernel.org>2013-01-26 10:07:50 +0000
commit7ba8a04dcdfb5ebcb4985a92dfc4dc4f59510464 (patch)
tree91cdd183b50f4be62ac6e97dec52e6aee1f8e41e /drivers/iio/imu/adis16400.h
parentb24150e31ab27ffcd2aa9b33dca42c2070526054 (diff)
downloadop-kernel-dev-7ba8a04dcdfb5ebcb4985a92dfc4dc4f59510464.zip
op-kernel-dev-7ba8a04dcdfb5ebcb4985a92dfc4dc4f59510464.tar.gz
iio:adis16400: Add support for the 52.85 Hz base sampling rate
The adis16400 and similar have two different base sampling rate available, from which the actual sampling rate is derived. 1638 Hz and 52.85 Hz, switching to the lower base sampling rate allows to support lower sampling rates. This patch adds support for switching to the lower base sampling rate if the requested sampling frequency is outside of the range which can be supported by the higher base sampling rate. The function which is used to read the current sampling rate already has support for the lower sampling rate, so no changes are required there. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/imu/adis16400.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud