diff options
author | Alexandru Ardelean <alexandru.ardelean@analog.com> | 2018-01-22 11:53:12 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-01-28 08:16:24 +0000 |
commit | e31b617d0a63c6558485aaa730fd162faa95a766 (patch) | |
tree | e66ef6f912df21c3c5932a18e6a04a875ec703b0 /drivers/iio | |
parent | 787e1853ae8a951233ceab1b01c862d9c668358b (diff) | |
download | linux-e31b617d0a63c6558485aaa730fd162faa95a766.tar.bz2 |
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>
Diffstat (limited to 'drivers/iio')
0 files changed, 0 insertions, 0 deletions