diff options
| author | Heiner Kallweit <[email protected]> | 2017-02-15 20:31:55 +0100 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2017-02-19 12:53:27 +0000 |
| commit | 6a882a2cbeb09b7c32610a644d5915d17b80b617 (patch) | |
| tree | 8d0e7036d3a9b3045b6813638bef100ca47b9ddd /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 3af109131b7eb880ba0711344912d7a523a812b4 (diff) | |
iio: adc: meson-saradc: improve meson_sar_adc_read_raw_sample
After sampling there should always be only one value in the FIFO.
This also applies to averaging mode as the averaging is done
chip-internally. So we don't have to loop and let the driver
complain if there's not exactly one value in the FIFO.
If the value belongs to a different channel then don't silently
swallow the value but complain.
Signed-off-by: Heiner Kallweit <[email protected]>
Acked-by: Martin Blumenstingl <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions