Skip to content

Commit cd4f0cf

Browse files
committed
usb: gadget: udc: atmel: use 1 bank endpoints for control transfers
Use 1 bank endpoints for control transfers Signed-off-by: Cristian Birsan <cristian.birsan@microchip.com>
1 parent 033cc63 commit cd4f0cf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/usb/gadget/udc/atmel_usba_udc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,7 @@ static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget,
10601060

10611061
switch (usb_endpoint_type(desc)) {
10621062
case USB_ENDPOINT_XFER_CONTROL:
1063+
ep->nr_banks = 1;
10631064
break;
10641065

10651066
case USB_ENDPOINT_XFER_ISOC:

0 commit comments

Comments
 (0)