libfprint/libfprint
Marco Trevisan (Treviño) ad920f9597 device: Complete driver operations in idle
When drivers signal that an action is completed, they might be still in the
middle of a SSM and so its callback might not be called properly as part of
the completion.

This could make impossible to chain operations like open->enroll/list with
some drivers (hey, synaptics, I'm looking at you!) when the next operation
is called from the GAsyncReadyCallback of the previous call.

To avoid this to happen, ensure that when a driver completes an operation,
we handle the notification to the caller in a next idle iteration, not to
end up in a possible broken state.

Abstract this by using a function that handles the task return for each
used task type to avoid duplicating similar functions doing all the same
thing
2019-11-20 20:38:06 +01:00
..
drivers synaptics: Put sensor into lower power mode after closing 2019-11-20 13:53:45 +01:00
nbis nbis: Use GLib memory management functions 2019-11-19 21:07:58 +01:00
drivers_api.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
empty_file build: Remove the need to modify sources for new drivers 2018-05-24 12:23:39 +02:00
fp-context.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-context.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-device.c device: Complete driver operations in idle 2019-11-20 20:38:06 +01:00
fp-device.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-image-device.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-image-device.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-image.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-image.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-print.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp-print.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fp_internal.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-assembling.c log: Re-indent fpi-log using uncrustify 2019-11-20 13:53:45 +01:00
fpi-assembling.h lib: Remove num_stripes from fpi_assemble_frames() 2019-11-20 13:53:45 +01:00
fpi-byte-reader.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-reader.h lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-utils.h lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-writer.c lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-byte-writer.h lib: Add byte data reader/writer helpers 2019-11-20 13:53:45 +01:00
fpi-context.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-device.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-image-device.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-image.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-log.h log: Re-indent fpi-log using uncrustify 2019-11-20 13:53:45 +01:00
fpi-print.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-ssm.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-ssm.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-usb-transfer.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fpi-usb-transfer.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fprint-list-supported-devices.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fprint-list-udev-rules.c lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
fprint.h lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
libfprint.ver lib: Major rewrite of the libfprint core and API 2019-11-20 11:03:09 +01:00
meson.build synaptics: Add synaptics driver 2019-11-20 13:53:45 +01:00
nbis-helpers.h lib: Add helper for NBIS copy-paste library 2018-12-13 15:48:25 +01:00