uvc: correct speed testing
Subsystems (2)
PATCH 2/2 uvc: correct speed testing
Allow for SS+ USB devices
Signed-off-by Oliver Neukum <[email protected]>
--- drivers/media/usb/uvc/uvc_video.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/usb/uvc/uvc_video.c +1 -0
@@ -1470,6 +1470,7 @@ static unsigned int uvc_endpoint_max_bpi(struct usb_device *dev,switch (dev->speed) {case USB_SPEED_SUPER : +case USB_SPEED_SUPER_PLUS :return le16_to_cpu (ep->ss_ep_comp.wBytesPerInterval);case USB_SPEED_HIGH : psize =usb_endpoint_maxp (&ep->desc);
Signature · 1 line
2.1.4
Hi Oliver,
Thank you for the patch.
Quoted 3 lines · On Monday 02 May 2016 13:23:21 Oliver Neukum wrote:
Allow for SS+ USB devices
Signed-off-by Oliver Neukum <[email protected]>
Reviewed-by Laurent Pinchart <[email protected]>
And applied to my tree.
Quoted 17 lines
--- drivers/media/usb/uvc/uvc_video.c | 1 + 1 file changed, 1 insertion(+)(quoted diff) +0
-0
b/drivers/media/usb/uvc/uvc_video.cindex 075a0fe..b5589d5 100644drivers/media/usb/uvc/uvc_video.c +1
-0@@ -1470,6 +1470,7 @@ static unsigned int uvc_endpoint_max_bpi(struct usb_device *dev, switch (dev->speed) {case USB_SPEED_SUPER : +case USB_SPEED_SUPER_PLUS :return le16_to_cpu (ep->ss_ep_comp.wBytesPerInterval);case USB_SPEED_HIGH :psize =
usb_endpoint_maxp(&ep->desc);
Signature · 3 lines
Regards, Laurent Pinchart