summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc
diff options
context:
space:
mode:
authorAlexandru Ardelean <alexandru.ardelean@analog.com>2018-01-22 10:53:12 +0100
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-01-28 09:16:24 +0100
commite31b617d0a63c6558485aaa730fd162faa95a766 (patch)
treee66ef6f912df21c3c5932a18e6a04a875ec703b0 /drivers/iio/adc
parentiio: adc: aspeed: Fix error handling path (diff)
downloadlinux-e31b617d0a63c6558485aaa730fd162faa95a766.tar.xz
linux-e31b617d0a63c6558485aaa730fd162faa95a766.zip
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/adc')
0 files changed, 0 insertions, 0 deletions