aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-09-02 19:46:03 -0400
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2018-09-24 19:06:53 +0300
commit89969a842e72b1b653140a4bbddd927b242736d0 (patch)
tree779b569b1fe0b4819700a8e930ab6338b4c29bbf /tools/perf/scripts/python
parentusb: gadget: uvc: configfs: Prevent format changes after linking header (diff)
downloadlinux-89969a842e72b1b653140a4bbddd927b242736d0.tar.gz
linux-89969a842e72b1b653140a4bbddd927b242736d0.zip
usb: gadget: uvc: configfs: Sort frame intervals upon writing
There is an issue where the host is unable to tell the gadget what frame rate it wants if the dwFrameIntervals in the interface descriptors are not in ascending order. This means that when instantiating a uvc gadget via configfs the user must make sure the dwFrameIntervals are in ascending order. Instead of silently failing the breaking of this rule, we sort the dwFrameIntervals upon writing to configfs. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions