]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd67a0d1bed6dac2e7ec21882cdda57c54391929e
tree8d877c323144572dc6cc5d534f2b0df563845c97
parent7b77038567bffae9b1b0f4bf18b1585749e5f752
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