diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-09-19 15:50:34 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-10-13 08:38:08 +0100 |
| commit | 632757312d7eb320b66ca60e0cfe098ec53cee08 (patch) | |
| tree | e687fad277525ad2a80f665c2dca6e06d7fa37cd /scripts/generate_rust_analyzer.py | |
| parent | 9b45744bf09fc2a3287e05287141d6e123c125a7 (diff) | |
iio: adc: ad7380: fix SPI offload trigger rate
Add a special case to double the SPI offload trigger rate when all
channels of a single-ended chip are enabled in a buffered read.
The single-ended chips in the AD738x family can only do simultaneous
sampling of half their channels and have a multiplexer to allow reading
the other half. To comply with the IIO definition of sampling_frequency,
we need to trigger twice as often when the sequencer is enabled to so
that both banks can be read in a single sample period.
Fixes: bbeaec81a03e ("iio: ad7380: add support for SPI offload")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions
