Revert "usb: gadget: zero: Add support for interrupt EP"
authorFelipe Balbi <balbi@ti.com>
Wed, 11 Mar 2015 15:00:05 +0000 (10:00 -0500)
committerFelipe Balbi <balbi@ti.com>
Wed, 11 Mar 2015 15:00:05 +0000 (10:00 -0500)
commit2c247804796bbcaa90087f2196f68fdc20a5fe04
tree614db37924b22f79b9ec24c65df2a49623a7ecf0
parentd0f347d62814ec0f599a05c61c5619d5e999e4ae
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>
drivers/usb/gadget/function/f_loopback.c
drivers/usb/gadget/function/f_sourcesink.c
drivers/usb/gadget/function/g_zero.h
drivers/usb/gadget/legacy/zero.c