summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPaul Elder <paul.elder@ideasonboard.com>2018-08-28 02:45:46 -0400
committerPaul Elder <paul.elder@ideasonboard.com>2019-02-06 01:49:34 -0500
commitc4f79214e425ae26ec9c27cc0995122321631b87 (patch)
treefc724ca8ba68d073d69259a8e5e31a4894268058 /include
parentbde4deb8803026ec69e11cd380d77bf5d33ee623 (diff)
uvc: reply with max frame rate in response to UVC_GET_MAX
Previously, the interval rate that would be selected and replied to the host in response to UVC_GET_MAX, UVC_GET_MIN, and UVC_GET_DEF were all the same and were the first interval rate. Assuming the interval rates are sorted in ascending order, this means that UVC_GET_MAX would always yield the minimum interval rate. Modify the call to uvc_fill_streaming_control such that UVC_GET_MAX will yield the maximum interval rate. Signed-off-by: Paul Elder <paul.elder@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions