|
@@ -1065,8 +1065,7 @@ static int eject_installer(struct usb_interface *intf)
|
|
/* Find bulk out endpoint */
|
|
/* Find bulk out endpoint */
|
|
endpoint = &iface_desc->endpoint[1].desc;
|
|
endpoint = &iface_desc->endpoint[1].desc;
|
|
if ((endpoint->bEndpointAddress & USB_TYPE_MASK) == USB_DIR_OUT &&
|
|
if ((endpoint->bEndpointAddress & USB_TYPE_MASK) == USB_DIR_OUT &&
|
|
- (endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
|
|
|
|
- USB_ENDPOINT_XFER_BULK) {
|
|
|
|
|
|
+ usb_endpoint_xfer_bulk(endpoint)) {
|
|
bulk_out_ep = endpoint->bEndpointAddress;
|
|
bulk_out_ep = endpoint->bEndpointAddress;
|
|
} else {
|
|
} else {
|
|
dev_err(&udev->dev,
|
|
dev_err(&udev->dev,
|