* [PATCH 2/2] uvc: correct speed testing
@ 2016-05-02 11:23 Oliver Neukum
2016-05-09 23:52 ` Laurent Pinchart
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Neukum @ 2016-05-02 11:23 UTC (permalink / raw)
To: gregKH, linux-media, laurent.pinchart; +Cc: Oliver Neukum, Oliver Neukum
Allow for SS+ USB devices
Signed-off-by: Oliver Neukum <ONeukum@suse.com>
---
drivers/media/usb/uvc/uvc_video.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/usb/uvc/uvc_video.c b/drivers/media/usb/uvc/uvc_video.c
index 075a0fe..b5589d5 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);
--
2.1.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 2/2] uvc: correct speed testing
2016-05-02 11:23 [PATCH 2/2] uvc: correct speed testing Oliver Neukum
@ 2016-05-09 23:52 ` Laurent Pinchart
0 siblings, 0 replies; 2+ messages in thread
From: Laurent Pinchart @ 2016-05-09 23:52 UTC (permalink / raw)
To: Oliver Neukum; +Cc: gregKH, linux-media, Oliver Neukum
Hi Oliver,
Thank you for the patch.
On Monday 02 May 2016 13:23:21 Oliver Neukum wrote:
> Allow for SS+ USB devices
>
> Signed-off-by: Oliver Neukum <ONeukum@suse.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
And applied to my tree.
> ---
> drivers/media/usb/uvc/uvc_video.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/media/usb/uvc/uvc_video.c
> b/drivers/media/usb/uvc/uvc_video.c index 075a0fe..b5589d5 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);
--
Regards,
Laurent Pinchart
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-09 23:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-02 11:23 [PATCH 2/2] uvc: correct speed testing Oliver Neukum
2016-05-09 23:52 ` Laurent Pinchart
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).