summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/udc/atmel_usba_udc.c
diff options
context:
space:
mode:
authorCristian Birsan <cristian.birsan@microchip.com>2020-07-23 21:49:00 +0300
committerFelipe Balbi <balbi@kernel.org>2020-09-24 11:56:17 +0300
commit5b041a30448f6af2676de01685812b260bd95b31 (patch)
treef3423c75ca8c3aa2d9f4a36eff8eb491b3b6700e /drivers/usb/gadget/udc/atmel_usba_udc.c
parent033b8966e90611f6f76daf4d16bb7fe3ef36a819 (diff)
downloadlinux-5b041a30448f6af2676de01685812b260bd95b31.tar.xz
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> Signed-off-by: Felipe Balbi <balbi@kernel.org>
Diffstat (limited to 'drivers/usb/gadget/udc/atmel_usba_udc.c')
-rw-r--r--drivers/usb/gadget/udc/atmel_usba_udc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c
index 2e9044bcac01..d8b693b34b57 100644
--- a/drivers/usb/gadget/udc/atmel_usba_udc.c
+++ b/drivers/usb/gadget/udc/atmel_usba_udc.c
@@ -1056,6 +1056,7 @@ found_ep:
switch (usb_endpoint_type(desc)) {
case USB_ENDPOINT_XFER_CONTROL:
+ ep->nr_banks = 1;
break;
case USB_ENDPOINT_XFER_ISOC: