diff options
author | Andrzej Pietrasiewicz <andrzej.p@samsung.com> | 2014-07-09 12:20:08 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2014-07-10 08:36:52 -0500 |
commit | f0175ab51993d2dc2728e7b22a16ffb0c8f4cfa0 (patch) | |
tree | 03931c91c52bcccf6ea95ffb382c45a72839c281 /ipc/util.c | |
parent | 7ea4f088c810dab3ba3ab4c7a3879238f790e1fd (diff) |
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 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions