diff options
author | Denis Benato <[email protected]> | 2024-08-07 20:56:18 +0200 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2024-08-10 11:19:36 +0100 |
commit | 2837efdc7cef5b86b0c4d94a7410bc03cc2f003f (patch) | |
tree | 634b2424844d3a81a32077231dd2fa3c79c66540 /lib/test_fortify/write_overflow-strncpy-src.c | |
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 <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions