diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-23 23:38:08 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2018-05-24 01:26:38 +0300 |
commit | c09cb33c4a54139b00fc9a7212ef7ab05a1e07cb (patch) | |
tree | 3dddca8cb9a275a1c479911b0c58ccd9338516e2 /main.c | |
parent | 3d6471013462f614bb14b3a775881b02c724df7a (diff) |
uvc-gadget: Use uvc_fill_streaming_control in uvc_events_process_data
The uvc_events_process_data() function looks up format and frame
descriptors to fill the streaming control structure. This duplicates
code from the uvc_fill_streaming_control() function. Refactor the
function to make it usable in uvc_events_process_data() and remove the
duplicated code.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions