diff options
| author | David Lechner <dlechner@baylibre.com> | 2025-03-10 15:43:06 -0500 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-04-07 19:34:11 +0100 |
| commit | efaa981e679ac0cbc8d89b69aa4595e422826329 (patch) | |
| tree | be7fd7d3652748d3c205a4fdf9c66b2c65676134 /tools/perf/scripts/python | |
| parent | dc78e71d7c1534293eaf6d17c5ce83e547532cf9 (diff) | |
| download | linux-efaa981e679ac0cbc8d89b69aa4595e422826329.tar.gz linux-efaa981e679ac0cbc8d89b69aa4595e422826329.zip | |
iio: adc: ad4030: move setting mode to update_scan_mode
Move calling ad4030_set_mode() from the buffer preenable callback to
the update_scan_mode callback. This doesn't change any functionality
but is more logical since setting the mode is a function of the scan
mask and doesn't require an "undo" operation when the buffer is
disabled.
Signed-off-by: David Lechner <dlechner@baylibre.com>
Reviewed-by: Nuno Sá <nuno.sa@analog.com>
Link: https://patch.msgid.link/20250310-iio-adc-ad4030-check-scan-type-err-v1-3-589e4ebd9711@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
