USB: GADGET: optionally force full-speed for net2280 UDC
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 Jan 2013 21:40:14 +0000 (16:40 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Jan 2013 09:09:19 +0000 (10:09 +0100)
commit2f0760774711c957c395b31131b848043af98edf
tree578d8100d72f68045516cd6be3682db1747aaaf9
parentd0b4652f80c3276a57ede3b6b6d8159fa26c091f
USB: GADGET: optionally force full-speed for net2280 UDC

This patch (as1656) adds a module parameter to the net2280 UDC driver
to force full-speed operation.  It is intended for testing purposes,
where one wants to check how well a full-speed device performs when
attached to a high-speed bus.  Without this parameter it would be
necessary to interpose a full-speed hub; otherwise the net2280 would
connect at high speed.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/net2280.c