diff options
author | Sanchayan Maity <maitysanchayan@gmail.com> | 2015-02-03 15:15:08 +0530 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2015-02-03 11:25:02 +0100 |
commit | c78b5ae472e69452d5fe44c261d57c8083c59f74 (patch) | |
tree | 95eb5856a2007741bb1829b601ca0799d5e71905 /kernel/async.c | |
parent | ed85461161652239983971c31bdc4fc1e58a06d8 (diff) |
iio: adc: vf610: use sample period of minimum 6 ADC clocksColibri_VF_LinuxImageV2.3Beta7_20150203toradex_vf_3.18
The patch changes the sample period to 6 ADC clocks instead of the
earlier 2 ADC clocks. This is required as reading multiple channels
simultaneously at short time intervals (< 10ms) leads to fluctuations
in the internal temperature sensor readouts. Internal temperature sensor
seems to require atleast 4 ADC clocks for a stable reading. Also change
the formula for calculating available sampling frequencies accordingly.
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Diffstat (limited to 'kernel/async.c')
0 files changed, 0 insertions, 0 deletions