Message ID | 20200723184902.416705-5-cristian.birsan@microchip.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 5b041a30448f6af2676de01685812b260bd95b31 |
Headers | show |
Series | usb: gadget: udc: atmel: add usb device support for SAM9x60 SoC | expand |
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 10fa72ec8b79..59b200e32784 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -1056,6 +1056,7 @@ static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget, switch (usb_endpoint_type(desc)) { case USB_ENDPOINT_XFER_CONTROL: + ep->nr_banks = 1; break; case USB_ENDPOINT_XFER_ISOC: