|
@@ -1007,7 +1007,7 @@ int xhci_add_endpoint(struct usb_hcd *hcd, struct usb_device *udev,
|
|
* for usb_set_interface() and usb_set_configuration() claim).
|
|
* for usb_set_interface() and usb_set_configuration() claim).
|
|
*/
|
|
*/
|
|
if (xhci_endpoint_init(xhci, xhci->devs[udev->slot_id],
|
|
if (xhci_endpoint_init(xhci, xhci->devs[udev->slot_id],
|
|
- udev, ep, GFP_KERNEL) < 0) {
|
|
|
|
|
|
+ udev, ep, GFP_NOIO) < 0) {
|
|
dev_dbg(&udev->dev, "%s - could not initialize ep %#x\n",
|
|
dev_dbg(&udev->dev, "%s - could not initialize ep %#x\n",
|
|
__func__, ep->desc.bEndpointAddress);
|
|
__func__, ep->desc.bEndpointAddress);
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|