aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/function/uvc_queue.c
diff options
context:
space:
mode:
authorMichael Grzeschik <[email protected]>2021-10-22 11:32:22 +0200
committerGreg Kroah-Hartman <[email protected]>2021-10-25 09:20:08 +0200
commitf262ce66d40cc6858d1fcb11e7b7f960448a4f38 (patch)
tree729e570100f01c042513e1bf135f4053891b2bb2 /drivers/usb/gadget/function/uvc_queue.c
parentd9f273484358285b448aff65bffeb361d0b1f917 (diff)
usb: gadget: uvc: use on returned header len in video_encode_isoc_sg
The function uvc_video_encode_header function returns the number of bytes used for the header. We change the video_encode_isoc_sg function to use the returned header_len rather than UVCG_REQUEST_HEADER_LEN and make the encode function more flexible. Signed-off-by: Michael Grzeschik <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/gadget/function/uvc_queue.c')
0 files changed, 0 insertions, 0 deletions