aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/usb
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2014-07-09 12:20:08 +0200
committerFelipe Balbi <balbi@ti.com>2014-07-10 08:36:52 -0500
commitf0175ab51993d2dc2728e7b22a16ffb0c8f4cfa0 (patch)
tree03931c91c52bcccf6ea95ffb382c45a72839c281 /include/linux/usb
parentusb: gadget: u_os_desc: helper functions for accessing ext prop buffer (diff)
downloadlinux-dev-f0175ab51993d2dc2728e7b22a16ffb0c8f4cfa0.tar.xz
linux-dev-f0175ab51993d2dc2728e7b22a16ffb0c8f4cfa0.zip
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 <andrzej.p@samsung.com> Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include/linux/usb')
0 files changed, 0 insertions, 0 deletions