summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDaniel Scally <dan.scally@ideasonboard.com>2023-02-02 14:41:39 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-02-06 15:46:42 +0300
commite187408cc1de933851d03eb128c25a742bc92ecc (patch)
treea3fbfbb5592220d1bbf01ee6a5ea93e434792d63 /tools/perf/scripts/python
parent744eb7b821f61eceed60eb4f64227162853c9d5e (diff)
downloadlinux-e187408cc1de933851d03eb128c25a742bc92ecc.tar.xz
usb: gadget: uvc: Copy color matching descriptor for each frame
As currently implemented the default color matching descriptor is appended after _all_ the formats and frames that the gadget is configured with. According to the UVC specifications however this is supposed to be on a per-format basis (section 3.9.2.6): "Only one instance is allowed for a given format and if present, the Color Matching descriptor shall be placed following the Video and Still Image Frame descriptors for that format." Associate the default color matching descriptor with struct uvcg_format and copy it once-per-format instead of once only. Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com> Link: https://lore.kernel.org/r/20230202114142.300858-4-dan.scally@ideasonboard.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions