diff options
| author | Francesco Lavra <flavra@baylibre.com> | 2026-01-15 18:53:49 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-01-16 19:40:04 +0000 |
| commit | fabae7558722dcf41a9137f6f0f82462867d7c96 (patch) | |
| tree | 5e04ccef05e51d2aaa91a6d69f68e5a6c59fa48d /tools/perf/scripts/python/stackcollapse.py | |
| parent | a99b000f92413f254a6dc0f6ab88b310152f9485 (diff) | |
| download | linux-fabae7558722dcf41a9137f6f0f82462867d7c96.tar.gz linux-fabae7558722dcf41a9137f6f0f82462867d7c96.zip | |
iio: accel: adxl380: Introduce helper function for activity detection
Motion detection functionalities (such as activity and inactivity
detection) are only available when the chip is in a low-power mode; this
affects the available sampling frequency values.
In preparation for adding support for a new frequency value, introduce a
helper function that checks whether activity/inactivity detection is
currently enabled; this function will be reused in a future commit to
determine what frequency values are available at any given time.
No functional changes.
Signed-off-by: Francesco Lavra <flavra@baylibre.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
