usb: gadget: Fixed Android gadget function discovery & product matching
commit8da1d5c2542e4adcb45c4e77d876852a6e1d8a47
authorJohn Michelau <john.michelau@motorola.com>
Tue, 30 Nov 2010 21:36:29 +0000 (30 15:36 -0600)
committerBenoit Goby <benoit@android.com>
Sat, 4 Dec 2010 00:31:42 +0000 (3 16:31 -0800)
tree425c4c29d39c5a80b6953c826fcbfeb02a76da79
parenta6434b56160d7f8f794a4ba2f812b27452244ba8
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