Make the tranzport surface work even if the call to
authorSampo Savolainen <v2@iki.fi>
Thu, 15 Jun 2006 20:55:54 +0000 (20:55 +0000)
committerSampo Savolainen <v2@iki.fi>
Thu, 15 Jun 2006 20:55:54 +0000 (20:55 +0000)
usb_set_configuration() fails

git-svn-id: svn://localhost/ardour2/trunk@607 d708f5d6-7413-0410-9779-e7cbd77b26cf

libs/surfaces/tranzport/tranzport_control_protocol.cc

index 4fad413d2418c895d4dec98ce5a531533f50c76c..0b08bd633eb79ab190f671eb1534fe7b65b133cd 100644 (file)
@@ -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;