mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-12 02:44:18 +00:00
debian/patches: Add support for more device PIDs supported upstream
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
From: Benjamin Berg <bberg@redhat.com>
|
||||
Date: Tue, 14 Jun 2022 15:32:56 +0200
|
||||
Subject: goodix: Lower poor capture warnings to debug message
|
||||
|
||||
It is completely fine for a capture to have a low quality or fail. No
|
||||
need to warn about this. Main reason to remove it though is so that
|
||||
recordings that contain such a message do not trigger a failure.
|
||||
---
|
||||
libfprint/drivers/goodixmoc/goodix.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/libfprint/drivers/goodixmoc/goodix.c b/libfprint/drivers/goodixmoc/goodix.c
|
||||
index 0686856..48dafe1 100644
|
||||
--- a/libfprint/drivers/goodixmoc/goodix.c
|
||||
+++ b/libfprint/drivers/goodixmoc/goodix.c
|
||||
@@ -661,7 +661,7 @@ fp_enroll_capture_cb (FpiDeviceGoodixMoc *self,
|
||||
/* */
|
||||
if (resp->result >= GX_FAILED)
|
||||
{
|
||||
- fp_warn ("Capture sample failed, result: 0x%x", resp->result);
|
||||
+ fp_info ("Capture sample failed, result: 0x%x", resp->result);
|
||||
fpi_device_enroll_progress (FP_DEVICE (self),
|
||||
self->enroll_stage,
|
||||
NULL,
|
||||
@@ -675,7 +675,7 @@ fp_enroll_capture_cb (FpiDeviceGoodixMoc *self,
|
||||
if ((resp->capture_data_resp.img_quality < self->sensorcfg->config[4]) ||
|
||||
(resp->capture_data_resp.img_coverage < self->sensorcfg->config[5]))
|
||||
{
|
||||
- fp_warn ("Capture sample poor quality(%d): %d or coverage(%d): %d",
|
||||
+ fp_info ("Capture sample poor quality(%d): %d or coverage(%d): %d",
|
||||
self->sensorcfg->config[4],
|
||||
resp->capture_data_resp.img_quality,
|
||||
self->sensorcfg->config[5],
|
||||
Reference in New Issue
Block a user