Make the tranzport surface work even if the call to
usb_set_configuration() fails git-svn-id: svn://localhost/ardour2/trunk@607 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
@@ -395,10 +395,7 @@ TranzportControlProtocol::open_core (struct usb_device* dev)
|
||||
}
|
||||
|
||||
if (usb_set_configuration (udev, 1) < 0) {
|
||||
error << _("Tranzport: cannot configure USB interface") << endmsg;
|
||||
usb_close (udev);
|
||||
udev = 0;
|
||||
return -1;
|
||||
cerr << _("Tranzport: cannot configure USB interface") << endmsg;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user