mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 12:21:37 +00:00
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:
parent
033b8966e9
commit
5b041a3044
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user