diff options
author | Akinobu Mita <[email protected]> | 2017-07-21 00:24:23 +0900 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2017-08-20 15:41:15 +0100 |
commit | 56b57a9eb853a5d1fc31d755b0b000c4bb4b1a2d (patch) | |
tree | 09c9fef6b66cca172789ddbc701785170c74142d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 4744d4e2afebf9644a439da9ca73d822fdd67bd9 (diff) |
iio: adc: ti-ads1015: remove unnecessary config register update
The ti-ads1015 driver has eight iio voltage channels and each iio channel
can hold own scale information.
The ADS1015 device only have a single config register which contains an
input multiplexer selection, PGA and data rate settings. So the driver
should load the correct settings when the input multiplexer selection is
changed.
However, regardless of which channlel is currently selected, changing any
iio channel's scale information immediately overwrites the current PGA
setting in the config register.
It is harmless because the correct PGA settings are reloaded just before
getting adc result anyway. But it is unnecessary register update and
should be removed.
Cc: Daniel Baluta <[email protected]>
Cc: Jonathan Cameron <[email protected]>
Signed-off-by: Akinobu Mita <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions