sysclk-lwla: Remove double USB set configuration
This was a pointless attempt to make the reset hiccups go away. It didn't help, the problem must be something else.
This commit is contained in:
parent
7ed808179f
commit
567674b4f8
|
@ -274,10 +274,6 @@ static int dev_open(struct sr_dev_inst *sdi)
|
|||
if (ret != SR_OK)
|
||||
return ret;
|
||||
|
||||
/* Set the configuration twice to trigger a lightweight reset.
|
||||
*/
|
||||
ret = libusb_set_configuration(usb->devhdl, USB_CONFIG);
|
||||
if (ret == 0)
|
||||
ret = libusb_set_configuration(usb->devhdl, USB_CONFIG);
|
||||
if (ret != 0) {
|
||||
sr_err("Failed to set USB configuration: %s.",
|
||||
|
|
Loading…
Reference in New Issue