aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorCosmin Tanislav <[email protected]>2022-02-14 09:38:08 +0200
committerJonathan Cameron <[email protected]>2022-02-21 19:33:05 +0000
commit06a4a0cf698474ce5a19eb2854edcb6af51b8055 (patch)
tree8106265975d86087c4810b1b6238153e82ef5375 /tools/perf/scripts/python/libxed.py
parent89d185848633db2aa811131ac5db795d5366da78 (diff)
iio: ABI: add note about configuring other attributes during buffer capture
It might be impossible to configure other attributes (e.g.: events, scale, sampling rate) if they impact the currently active buffer capture session. On ADXL367, writing to register before 0x2E requires the device to be placed in standby mode, otherwise the changes might be effective for only part of a measurement. To ensure this requirement, the configuration attributes of the IIO device try to claim direct mode before switching to standby mode. During a buffer capture, direct mode cannot be claimed, and the attribute write callback returns -EBUSY. Describe this behavior in the buffer/enable attribute description. Signed-off-by: Cosmin Tanislav <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions