diff options
-rw-r--r-- | drivers/usb/gadget/ether.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/ether.c b/drivers/usb/gadget/ether.c index 1cc3c0227d10..366dc0a9e52c 100644 --- a/drivers/usb/gadget/ether.c +++ b/drivers/usb/gadget/ether.c | |||
@@ -2230,6 +2230,9 @@ eth_bind (struct usb_gadget *gadget) | |||
2230 | if (gadget_is_pxa (gadget)) { | 2230 | if (gadget_is_pxa (gadget)) { |
2231 | /* pxa doesn't support altsettings */ | 2231 | /* pxa doesn't support altsettings */ |
2232 | cdc = 0; | 2232 | cdc = 0; |
2233 | } else if (gadget_is_musbhdrc(gadget)) { | ||
2234 | /* reduce tx dma overhead by avoiding special cases */ | ||
2235 | zlp = 0; | ||
2233 | } else if (gadget_is_sh(gadget)) { | 2236 | } else if (gadget_is_sh(gadget)) { |
2234 | /* sh doesn't support multiple interfaces or configs */ | 2237 | /* sh doesn't support multiple interfaces or configs */ |
2235 | cdc = 0; | 2238 | cdc = 0; |