From: Andrzej Pietrasiewicz Date: Wed, 9 Jul 2014 10:20:08 +0000 (+0200) Subject: usb: gadget: f_fs: OS descriptors support X-Git-Tag: omap-for-v3.17/fixes-against-rc2~164^2~18^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0175ab51993d2dc2728e7b22a16ffb0c8f4cfa0;p=pandora-kernel.git usb: gadget: f_fs: OS descriptors support Add support for OS descriptors. The new format of descriptors is used, because the "flags" field is required for extensions. os_count gives the number of OSDesc[] elements. The format of descriptors is given in include/uapi/linux/usb/functionfs.h. For extended properties descriptor the usb_ext_prop_desc structure covers only a part of a descriptor, because the wPropertyNameLength is unknown up front. Signed-off-by: Andrzej Pietrasiewicz Acked-by: Michal Nazarewicz Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed