debian/patches: Ensure that identify works with old goodix driver

Newer fprintd supports duplicate-detection, this implies sending to the
device an empty prints gallery, expecting the device to give us a
matched print against its storage.

In case the device has no storage we're doing this anyway, but goodix
doesn't handle this properly, so let's just ignore the case if no prints
are passed.

Also, once returned the value we might initialize a type multiple times,
and let's avoid this not to have a dead-lock after the first action.

LP: #1966911
This commit is contained in:
Marco Trevisan (Treviño)
2022-07-17 17:20:30 +02:00
parent 84d8f68d37
commit ef6433c8be
3 changed files with 199 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
tod-Add-wrapper-for-goodix-tod-not-handling-identificatio.patch
fpi-device-Avoid-using-device-action-strings.patch