mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-05-03 06:48:00 +02:00
parent
c20c7bf5c7
commit
11f0316d06
4 changed files with 6 additions and 3 deletions
|
|
@ -170,6 +170,7 @@ usb:v04F3p0CA3*
|
|||
usb:v04F3p0C00*
|
||||
usb:v04F3p0C4C*
|
||||
usb:v04F3p0C5E*
|
||||
usb:v04F3p0C7C*
|
||||
usb:v04F3p0C90*
|
||||
ID_AUTOSUSPEND=1
|
||||
ID_PERSIST=0
|
||||
|
|
|
|||
|
|
@ -1160,6 +1160,7 @@ static const FpIdEntry elanmoc2_id_table[] = {
|
|||
{.vid = ELANMOC2_VEND_ID, .pid = 0x0c00, .driver_data = ELANMOC2_ALL_DEV},
|
||||
{.vid = ELANMOC2_VEND_ID, .pid = 0x0c4c, .driver_data = ELANMOC2_ALL_DEV},
|
||||
{.vid = ELANMOC2_VEND_ID, .pid = 0x0c5e, .driver_data = ELANMOC2_DEV_0C5E},
|
||||
{.vid = ELANMOC2_VEND_ID, .pid = 0x0c7c, .driver_data = ELANMOC2_ALL_DEV},
|
||||
{.vid = ELANMOC2_VEND_ID, .pid = 0x0c90, .driver_data = ELANMOC2_ALL_DEV},
|
||||
{.vid = 0, .pid = 0, .driver_data = 0}
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1644,8 +1644,9 @@ fp_device_delete_print (FpDevice *device,
|
|||
|
||||
/* Succeed immediately if delete is not implemented. */
|
||||
if (!cls->delete || !(priv->features & FP_DEVICE_FEATURE_STORAGE_DELETE))
|
||||
{
|
||||
g_task_return_boolean (task, TRUE);
|
||||
{
|
||||
g_task_return_error (task,
|
||||
fpi_device_error_new (FP_DEVICE_ERROR_NOT_SUPPORTED));
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ fpi_device_class_auto_initialize_features (FpDeviceClass *device_class)
|
|||
if (device_class->clear_storage)
|
||||
device_class->features |= FP_DEVICE_FEATURE_STORAGE_CLEAR;
|
||||
|
||||
if (device_class->delete && (device_class->list || device_class->clear_storage))
|
||||
if (device_class->clear_storage || (device_class->delete && device_class->list))
|
||||
device_class->features |= FP_DEVICE_FEATURE_STORAGE;
|
||||
|
||||
if (device_class->temp_hot_seconds < 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue