Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 36407
b: refs/heads/master
c: ee709a3
h: refs/heads/master
i:
  36405: f21f223
  36403: d8278d6
  36399: 6809700
v: v3
  • Loading branch information
Luiz Fernando N. Capitulino authored and Greg Kroah-Hartman committed Sep 27, 2006
1 parent 0a54488 commit 7b3143d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 97b107ca391c0411e6c5fc1e26585cd8285696f9
refs/heads/master: ee709a3c613d9c458323e04dd69c8eb233d45199
5 changes: 1 addition & 4 deletions trunk/drivers/usb/input/acecad.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,7 @@ static int usb_acecad_probe(struct usb_interface *intf, const struct usb_device_

endpoint = &interface->endpoint[0].desc;

if (!(endpoint->bEndpointAddress & 0x80))
return -ENODEV;

if ((endpoint->bmAttributes & 3) != 3)
if (!usb_endpoint_is_int_in(endpoint))
return -ENODEV;

pipe = usb_rcvintpipe(dev, endpoint->bEndpointAddress);
Expand Down

0 comments on commit 7b3143d

Please sign in to comment.