]> git.hungrycats.org Git - linux/commit
[PATCH] USB: usb gadget zero, basic OTG updates
authorDavid Brownell <david-b@pacbell.net>
Wed, 14 Jul 2004 08:00:19 +0000 (01:00 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 14 Jul 2004 08:00:19 +0000 (01:00 -0700)
commit0601da8690bf7e0837c98fcb8591adbeee4e3ad9
treecf9f52264d9f92288ab9a1f9242876fc46165a0b
parent8ae7288eed21206c0ba3a58f796f57dc652fd3a3
[PATCH] USB: usb gadget zero, basic OTG updates

This patch teaches "gadget zero" enough about OTG to pass simple USBCV
tests, mostly by including OTG descriptors in each configuration.  It
tests and reports OTG status, as reported by the USB controller driver.

It also adds an option to build gadget zero to act as the designated
OTG "HNP Test Device", which exists primarily to trigger HNP.  However,
it won't currently request HNP.

Includes other minor tweaks:  delete a timer on disconnect, reset
the req->zero flag, don't autoresume after disconnect.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/zero.c