Skip to content

Commit

Permalink
usb: gadget: f_fs: OS descriptors support
Browse files Browse the repository at this point in the history
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 <[email protected]>
Acked-by: Michal Nazarewicz <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
  • Loading branch information
Andrzej Pietrasiewicz authored and Felipe Balbi committed Jul 10, 2014
1 parent 7ea4f08 commit f0175ab
Show file tree
Hide file tree
Showing 3 changed files with 419 additions and 10 deletions.
Loading

0 comments on commit f0175ab

Please sign in to comment.