usb: gadget: OS descriptors: provide interface directory names
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Wed, 18 Jun 2014 12:24:49 +0000 (14:24 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 19 Jun 2014 15:06:48 +0000 (10:06 -0500)
commit14574b546d87a282cc9ea0f43935cee6bfc97bf8
tree8d877c323144572dc6cc5d534f2b0df563845c97
parentfe00b138295650fc46670b68342029b9fc391c62
usb: gadget: OS descriptors: provide interface directory names

Function's interface directories need to be created when the function
directory is created, but interface numbers are not known until
the gadget is ready and bound to udc, so we cannot use numbers
as part of interface directory names.
Let the client decide what names to use.

Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/configfs.c
drivers/usb/gadget/configfs.h
drivers/usb/gadget/f_rndis.c