]> git.baikalelectronics.ru Git - kernel.git/commit
usb gadget: defer obex enumeration
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 19 Aug 2008 00:45:25 +0000 (17:45 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 17 Oct 2008 21:40:53 +0000 (14:40 -0700)
commit3edcd840e77e19af72614b02b14cbf4fb044fa98
treeeedc03c671d431bcdbc8dc6a866c564bd6a0b53c
parent132c5478b0c9fbb029d6ebfba2a55e9f0cfddc1c
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