summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSampo Savolainen <v2@iki.fi>2006-06-15 20:55:54 +0000
committerSampo Savolainen <v2@iki.fi>2006-06-15 20:55:54 +0000
commite509ef5c06179be111fbd96dd86cdaa5d5c1f098 (patch)
treeb838a24577ac2b9205a89f8248747b41703d0b25 /libs
parent0323d748de104ac1bcdabeca65bc6748d45a7e43 (diff)
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
Diffstat (limited to 'libs')
-rw-r--r--libs/surfaces/tranzport/tranzport_control_protocol.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/libs/surfaces/tranzport/tranzport_control_protocol.cc b/libs/surfaces/tranzport/tranzport_control_protocol.cc
index 4fad413d24..0b08bd633e 100644
--- a/libs/surfaces/tranzport/tranzport_control_protocol.cc
+++ b/libs/surfaces/tranzport/tranzport_control_protocol.cc
@@ -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;