diff options
| author | Dumitru Ceclan <[email protected]> | 2024-07-31 15:37:25 +0300 |
|---|---|---|
| committer | Jonathan Cameron <[email protected]> | 2024-08-03 16:05:53 +0100 |
| commit | 6f055df6f65944b155c35fa7f790ca749471f0b6 (patch) | |
| tree | 3be623d1a626c9b273a13090f01844ce7ba993f2 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | b7eef979b7ac267187218a515ce4afb502fe18c7 (diff) | |
iio: adc: ad7124: set initial ADC mode to idle
During setup the st->adc_control is 0, which corresponds to a continuous
conversion mode. The reset value for channel 1 is to enable it. The
combined effect of these two is that the ADC will start conversions for
channel 1 without them being read.
This is not neccessarily a problem, but it is an unexpected behavior.
Set the ADC state to idle during setup to avoid this.
Signed-off-by: Dumitru Ceclan <[email protected]>
Reviewed-by: Nuno Sa <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions