Message ID | 20200407122852.19422-6-cristian.birsan@microchip.com (mailing list archive) |
---|---|
State | Superseded |
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 7011438f91d6..1e2194fe06cb 100644 --- a/drivers/usb/gadget/udc/atmel_usba_udc.c +++ b/drivers/usb/gadget/udc/atmel_usba_udc.c @@ -1061,6 +1061,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: