From: Cristian Birsan Date: Thu, 23 Jul 2020 18:49:00 +0000 (+0300) Subject: usb: gadget: udc: atmel: use 1 bank endpoints for control transfers X-Git-Tag: v5.15~2673^2~12^2~105 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5b041a30448f6af2676de01685812b260bd95b31;p=platform%2Fkernel%2Flinux-starfive.git usb: gadget: udc: atmel: use 1 bank endpoints for control transfers Use 1 bank endpoints for control transfers Signed-off-by: Cristian Birsan Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/udc/atmel_usba_udc.c b/drivers/usb/gadget/udc/atmel_usba_udc.c index 2e9044b..d8b693b 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: