diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-26 20:58:19 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-06-01 09:47:11 +0300 |
commit | 571e148aaec20c26c308d6611cdb1f34ec81ff1e (patch) | |
tree | 2d829def0ed54aaf55dddd4743c0e9bbb6dec112 /scripts/uvc-gadget.sh | |
parent | 203acba635874681e3e744fbce4151d569afa572 (diff) |
configfs: Refactor ConfigFS parsing code
Move all attribute parsing to a top-level configfs_parse_uvc() function,
and split control and streaming interface attributes to two separate
helper functions. In addition to making the code more structured, it
will also allow supporting multiple streaming interfaces in a single UVC
function in the future.
The uvc_function_config structure is similarly reorganized in a
hierarchical representation of the configuration.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'scripts/uvc-gadget.sh')
0 files changed, 0 insertions, 0 deletions