mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-12-20 09:20:04 +01:00
synaptics: add usb reset in probe to recover stall condition
This commit is contained in:
parent
a7448fbb4a
commit
bde868f05e
1 changed files with 6 additions and 0 deletions
|
|
@ -1254,6 +1254,12 @@ dev_probe (FpDevice *device)
|
|||
return;
|
||||
}
|
||||
|
||||
if (!g_usb_device_reset (usb_dev, &error))
|
||||
{
|
||||
fp_dbg ("%s g_usb_device_reset failed %s", G_STRFUNC, error->message);
|
||||
goto err_close;
|
||||
}
|
||||
|
||||
if (!g_usb_device_claim_interface (usb_dev, 0, 0, &error))
|
||||
goto err_close;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue