diff options
author | Denis Benato <benato.denis96@gmail.com> | 2024-08-07 20:56:18 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-08-10 11:19:36 +0100 |
commit | 2837efdc7cef5b86b0c4d94a7410bc03cc2f003f (patch) | |
tree | 634b2424844d3a81a32077231dd2fa3c79c66540 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | b4b4817bbf9aebb2071d8b887a970610ee943f91 (diff) |
iio: trigger: allow devices to suspend/resume theirs associated trigger
When a machine enters a sleep state while a trigger is associated to
an iio device that trigger is not resumed after exiting the sleep state:
provide iio device drivers a way to suspend and resume
the associated trigger to solve the aforementioned bug.
Each iio driver supporting external triggers is expected to call
iio_device_suspend_triggering before suspending,
and iio_device_resume_triggering upon resuming.
Signed-off-by: Denis Benato <benato.denis96@gmail.com>
Link: https://patch.msgid.link/20240807185619.7261-2-benato.denis96@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions