diff options
author | Oliver Neukum <oneukum@suse.com> | 2016-05-02 14:23:21 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-06-07 17:34:24 +0300 |
commit | 92a63459c396386664b30415d1751593ee91a2cc (patch) | |
tree | 0820e6a3494e34408573bfec7b04e33cc9e11b03 /drivers/media/usb/uvc/uvc_video.c | |
parent | f222467a2c51a46f51516975f9b096f903c26ce4 (diff) | |
download | linux-92a63459c396386664b30415d1751593ee91a2cc.tar.xz |
[media] uvcvideo: Correct speed testing
Allow for SS+ USB devices.
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_video.c')
-rw-r--r-- | drivers/media/usb/uvc/uvc_video.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c index 075a0fe77485..b5589d5f5da4 100644 --- a/drivers/media/usb/uvc/uvc_video.c +++ b/drivers/media/usb/uvc/uvc_video.c @@ -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); |