diff options
author | Alexandru Ardelean | 2018-03-12 16:48:15 +0100 |
---|---|---|
committer | Jonathan Cameron | 2018-03-17 21:50:26 +0100 |
commit | 192af06a287bbfcae0de8fa456dca15767ecd056 (patch) | |
tree | b64b9c34d9a3dfde9841cde0202a35b1914c3fd6 /drivers/staging/iio/accel/adis16201.c | |
parent | iio: adc: ad7791: implement IIO_CHAN_INFO_SAMP_FREQ (diff) | |
download | kernel-qcow2-linux-192af06a287bbfcae0de8fa456dca15767ecd056.tar.gz kernel-qcow2-linux-192af06a287bbfcae0de8fa456dca15767ecd056.tar.xz kernel-qcow2-linux-192af06a287bbfcae0de8fa456dca15767ecd056.zip |
iio: adc: ad7780: remove IIO_CHAN_INFO_SAMP_FREQ support
The `ad7780` driver does not implement setting/getting the sampling
frequency.
For the ad7780/ad7781 devices, the control is done via an external pin,
and the ad7170/ad7171 devices have a fixed sampling rate (so, no control).
For these devices, and similar other that may be added later on,
a AD_SD_CHANNEL_NO_SAMPLE_FREQ() macro has been added, which doesn't set
the IIO_CHAN_INFO_SAMP_FREQ flag.
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/staging/iio/accel/adis16201.c')
0 files changed, 0 insertions, 0 deletions