Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 124572
b: refs/heads/master
c: 538e7a0
h: refs/heads/master
v: v3
  • Loading branch information
Laurent Pinchart authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 7ca1a31 commit 6e1bc2c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f8dd4af6d44b4b738f125f6a21afa885f3b1d13b
refs/heads/master: 538e7a004bf960c96c7e9eb836b59989eb5f5b7f
9 changes: 7 additions & 2 deletions trunk/drivers/media/video/uvc/uvc_driver.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,8 +1147,13 @@ static int uvc_parse_control(struct uvc_device *dev)
buffer += buffer[0];
}

/* Check if the optional status endpoint is present. */
if (alts->desc.bNumEndpoints == 1) {
/* Check if the optional status endpoint is present. Built-in iSight
* webcams have an interrupt endpoint but spit proprietary data that
* don't conform to the UVC status endpoint messages. Don't try to
* handle the interrupt endpoint for those cameras.
*/
if (alts->desc.bNumEndpoints == 1 &&
!(dev->quirks & UVC_QUIRK_BUILTIN_ISIGHT)) {
struct usb_host_endpoint *ep = &alts->endpoint[0];
struct usb_endpoint_descriptor *desc = &ep->desc;

Expand Down

0 comments on commit 6e1bc2c

Please sign in to comment.