diff options
| author | Guillaume Stols <gstols@baylibre.com> | 2024-10-15 13:56:19 +0000 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-10-21 19:19:26 +0100 |
| commit | ef67f16e365c7d4dd3c075fcc49422d500612b5a (patch) | |
| tree | ebd4f4c0cb850618776fc3be894858fd39f761dd /tools/perf/scripts/python | |
| parent | iio: adc: ad7606: Add compatibility to fw_nodes (diff) | |
| download | linux-ef67f16e365c7d4dd3c075fcc49422d500612b5a.tar.gz linux-ef67f16e365c7d4dd3c075fcc49422d500612b5a.zip | |
iio: adc: ad7606: Introduce num_adc_channels
This variable determines how many hardware channels has the chip,
oppositely to the num_channels that can contain more channels, e.g a
timestamp channel in our case. Introducing this variable avoids
decreasing the former num_channels variable when reading the ADC's
channels, and clarifies a bit the code.
Reviewed-by: Nuno Sa <nuno.sa@analog.com>
Signed-off-by: Guillaume Stols <gstols@baylibre.com>
Link: https://patch.msgid.link/20241015-ad7606_add_iio_backend_support-v5-6-654faf1ae08c@baylibre.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
