usb gadget: defer obex enumeration
commit2121427836c9eeaed3002e1add89f1e8c7a00261
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 19 Aug 2008 00:45:25 +0000 (18 17:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:40:53 +0000 (17 14:40 -0700)
treeeedc03c671d431bcdbc8dc6a866c564bd6a0b53c
parent3086775a4916b0fe128d924d83f4e7d7c39e4d0e
usb gadget: defer obex enumeration

Some USB peripheral controller drivers support software control
over the data pullup.  Use those controls to prevent the OBEX
function from enumerating until the userspace server has opened
the /dev/ttyGS* node it will use to implement protocol chitchat
with the USB host.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_obex.c