diff options
| author | Rupesh Majhi <zoone.rupert@gmail.com> | 2026-09-21 21:31:28 +0300 |
|---|---|---|
| committer | Jonathan Cameron <jonathan.cameron@oss.qualcomm.com> | 2026-09-28 17:07:37 +0100 |
| commit | 47086bd263d31cc2caad30ed0cc60fa9dd9a7b41 (patch) | |
| tree | 9816f937beff8c646e307a83b7db3f1ab14e4e9b /tools/perf/scripts/python | |
| parent | 9b7cad9ce2ed2892debd96ce9d84f82b5ae1e08a (diff) | |
| download | linux-next-47086bd263d31cc2caad30ed0cc60fa9dd9a7b41.tar.gz linux-next-47086bd263d31cc2caad30ed0cc60fa9dd9a7b41.zip | |
iio: core: add an accessor for scan_timestamp
indio_dev->scan_timestamp is __private, so a driver has no way to ask
whether the timestamp channel is in the current scan. Hide the
ACCESS_PRIVATE() behind a read-only helper, the way iio_get_masklength()
already does.
The dps310 FIFO patch later in this series is the first user: that
hardware does not timestamp entries, so it refuses a buffer with the
timestamp channel enabled.
Suggested-by: Jonathan Cameron <jic23@kernel.org>
Assisted-by: LLM
Signed-off-by: Rupesh Majhi <zoone.rupert@gmail.com>
Signed-off-by: Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
