summaryrefslogtreecommitdiff
path: root/drivers/staging/greybus/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/greybus/usb.c')
-rw-r--r--drivers/staging/greybus/usb.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/staging/greybus/usb.c b/drivers/staging/greybus/usb.c
index 888f514921b6..e49fffdca53b 100644
--- a/drivers/staging/greybus/usb.c
+++ b/drivers/staging/greybus/usb.c
@@ -131,7 +131,8 @@ static int urb_enqueue(struct usb_hcd *hcd, struct urb *urb, gfp_t mem_flags)
operation = gb_operation_create(dev->connection,
GB_USB_TYPE_URB_ENQUEUE,
sizeof(*request) +
- urb->transfer_buffer_length, 0);
+ urb->transfer_buffer_length, 0,
+ GFP_KERNEL);
if (!operation)
return -ENODEV;