From: Michal Nazarewicz Date: Wed, 5 May 2010 10:53:18 +0000 (+0200) Subject: USB: testusb: testusb compatibility with FunctionFS gadget X-Git-Tag: v2.6.35-rc1~471^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bc9661cba04ff3704e704a06367d4fe96d8dd33;p=pandora-kernel.git USB: testusb: testusb compatibility with FunctionFS gadget The FunctionFS gadget may provide the source/sink interface not as the first interface (with id == 0) but some different interface hence a code to find the interface number is required. (Note that you will still configure the gadget to report idProduct == 0xa4a4 (an "echo 0xa4a4 >/sys/module/g_ffs/parameters/usb_product" should suffice) or configure host to handle 0x0525:0xa4ac devices using the usbtest driver.) Signed-off-by: Michal Nazarewicz Cc: Kyungmin Park Cc: Marek Szyprowski Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed