diff options
| author | Nuno Sá <[email protected]> | 2022-09-12 10:12:21 +0200 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2022-09-21 18:42:55 +0100 |
| commit | f4f43f01cff2f29779343ade755191afd2581c77 (patch) | |
| tree | 17a28a3d9500bb0f16d718b765524b5d37c02778 /tools/perf/scripts/python/netdev-times.py | |
| parent | 548616242fe025b8c071e8d760fba6c4f71b0bc6 (diff) | |
iio: adc: ad7923: fix channel readings for some variants
Some of the supported devices have 4 or 2 LSB trailing bits that should
not be taken into account. Hence we need to shift these bits out which
fits perfectly on the scan type shift property. This change fixes both
raw and buffered reads.
Fixes: f2f7a449707e ("iio:adc:ad7923: Add support for the ad7904/ad7914/ad7924")
Fixes: 851644a60d20 ("iio: adc: ad7923: Add support for the ad7908/ad7918/ad7928")
Signed-off-by: Nuno Sá <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions