usb: gadget: Fixed Android gadget function discovery & product matching
authorJohn Michelau <john.michelau@motorola.com>
Tue, 30 Nov 2010 21:36:29 +0000 (15:36 -0600)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:03:30 +0000 (12:03 -0800)
commit115afc922f2121c326aedc70a1a30987fed916df
treed24dee66732a15d3f34aabca29f3f0db196c8a30
parentbf429b27f8f9aaf9d63d8be52d46af3b2b219295
usb: gadget: Fixed Android gadget function discovery & product matching

- Don't bind until all required functions have registered
- Consider multi-instance functions when matching products

Change-Id: I6fa10567db71d49cd81968c01d75e326ff9a17c8
Signed-off-by: John Michelau <john.michelau@motorola.com>
drivers/usb/gadget/android.c