]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb: gadgetfs remove delayed init mode
authorPhil Endecott <spam_from_usb_devel@chezphil.org>
Mon, 15 Jan 2007 19:35:01 +0000 (11:35 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 7 Feb 2007 23:44:35 +0000 (15:44 -0800)
commit511779fd9eb7ed67116e4a1cad802363d2d58b20
tree6cfaf5d8a9504f90b2381d8704aaedfee2d22e5d
parent2505107def8b300576223367e3b603620d825e52
usb: gadgetfs remove delayed init mode

Gadgetfs had a mode in which endpoint descriptors were written by the user
program before connection.  This mode had some bugs, and hasn't seen much
(if any) use.  This patch removes that mode, leaving the mode of operation
where the user program waits for endpoint 0 to report a SET_CONFIGURATION,
and only then configures the endpoints.

From: "Phil Endecott" <spam_from_usb_devel@chezphil.org>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/inode.c