diff options
author | Felipe Balbi <balbi@ti.com> | 2015-03-11 10:00:05 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-03-11 10:00:05 -0500 |
commit | 2c247804796bbcaa90087f2196f68fdc20a5fe04 (patch) | |
tree | 614db37924b22f79b9ec24c65df2a49623a7ecf0 /drivers/usb/gadget/function/f_loopback.c | |
parent | d0f347d62814ec0f599a05c61c5619d5e999e4ae (diff) |
Revert "usb: gadget: zero: Add support for interrupt EP"
This reverts commit ef11982dd7a657512c362242508bb4021e0d67b6.
That commit creates a problem for some UDCs (at least musb)
where it allocates an endpoints with a 64-byte FIFO, but later
tries to use that same FIFO for 1024-byte packets.
Before implementing this, composite framework needs to be
modified so we only allocate endpoints after we know negotiated
speed, however that needs quite a bit of extra work.
Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/f_loopback.c')
-rw-r--r-- | drivers/usb/gadget/function/f_loopback.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/gadget/function/f_loopback.c b/drivers/usb/gadget/function/f_loopback.c index 298b46112b1a..39f49f1ad22f 100644 --- a/drivers/usb/gadget/function/f_loopback.c +++ b/drivers/usb/gadget/function/f_loopback.c @@ -289,8 +289,7 @@ static void disable_loopback(struct f_loopback *loop) struct usb_composite_dev *cdev; cdev = loop->function.config->cdev; - disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL, NULL, - NULL); + disable_endpoints(cdev, loop->in_ep, loop->out_ep, NULL, NULL); VDBG(cdev, "%s disabled\n", loop->function.name); } |