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>
This commit is contained in:
Cristian Birsan
2020-09-24 11:56:17 +03:00
committed by Felipe Balbi
parent 033b8966e9
commit 5b041a3044
+1
View File
@@ -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: