1
0
Fork 0
alistair23-linux/drivers/staging/iio/adc
Alexandru Ardelean e31b617d0a staging: iio: adc: ad7192: fix external frequency setting
The external clock frequency was set only when selecting
the internal clock, which is fixed at 4.9152 Mhz.

This is incorrect, since it should be set when any of
the external clock or crystal settings is selected.

Added range validation for the external (crystal/clock)
frequency setting.
Valid values are between 2.4576 and 5.12 Mhz.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2018-01-28 08:16:24 +00:00
..
Kconfig staging:iio:adc:lpc32xx Move out of staging. 2017-02-11 11:19:25 +00:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ad7192.c staging: iio: adc: ad7192: fix external frequency setting 2018-01-28 08:16:24 +00:00
ad7192.h staging: iio: adc: remove the use of CamelCase 2015-10-16 22:47:28 -07:00
ad7280a.c staging:iio:adc: drop assign iio_info.driver_module 2017-08-22 22:14:53 +01:00
ad7280a.h staging: iio: convert bare unsigned usage to unsigned int 2016-03-28 09:37:41 +01:00
ad7606.c staging:iio:adc: drop assign iio_info.driver_module 2017-08-22 22:14:53 +01:00
ad7606.h staging: ad7606: Replace mlock with driver private lock 2017-03-23 19:43:32 +00:00
ad7606_par.c staging: iio: adc: fix error return code in ad7606_par_probe() 2017-08-12 13:08:05 +01:00
ad7606_spi.c staging:iio:ad7606: Let common remove function take a struct device * 2016-10-23 19:34:16 +01:00
ad7780.c staging:iio:adc: drop assign iio_info.driver_module 2017-08-22 22:14:53 +01:00
ad7816.c staging:iio:adc: drop assign iio_info.driver_module 2017-08-22 22:14:53 +01:00