diff options
author | Cristian Birsan <cristian.birsan@microchip.com> | 2020-07-23 21:49:00 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@kernel.org> | 2020-09-24 11:56:17 +0300 |
commit | 5b041a30448f6af2676de01685812b260bd95b31 (patch) | |
tree | f3423c75ca8c3aa2d9f4a36eff8eb491b3b6700e /drivers/usb/gadget/udc/atmel_usba_udc.c | |
parent | 033b8966e90611f6f76daf4d16bb7fe3ef36a819 (diff) | |
download | linux-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.c | 1 |
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: |