mirror of
https://github.com/torvalds/linux.git
synced 2026-05-31 18:43:33 +02: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 @@ static struct usb_ep *atmel_usba_match_ep(struct usb_gadget *gadget,
|
|||
|
||||
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