diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2013-01-16 12:48:00 +0000 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2013-01-26 10:07:50 +0000 |
commit | 7ba8a04dcdfb5ebcb4985a92dfc4dc4f59510464 (patch) | |
tree | 91cdd183b50f4be62ac6e97dec52e6aee1f8e41e /drivers/i2c/muxes/i2c-mux-pca9541.c | |
parent | b24150e31ab27ffcd2aa9b33dca42c2070526054 (diff) |
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/i2c/muxes/i2c-mux-pca9541.c')
0 files changed, 0 insertions, 0 deletions