Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 133775
b: refs/heads/master
c: 2855d28
h: refs/heads/master
i:
  133773: 850097d
  133771: 47cfc00
  133767: 2880fa0
  133759: d58655d
v: v3
  • Loading branch information
Julia Lawall authored and Wim Van Sebroeck committed Mar 25, 2009
1 parent 09b76f7 commit efc0e7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 9e058d4f57751daa008b764735f97fdfccfeab6c
refs/heads/master: 2855d28a35d14e0087c48cb6f15d0446ea4c54c3
4 changes: 1 addition & 3 deletions trunk/drivers/watchdog/pcwd_usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -609,9 +609,7 @@ static int usb_pcwd_probe(struct usb_interface *interface, const struct usb_devi
/* check out the endpoint: it has to be Interrupt & IN */
endpoint = &iface_desc->endpoint[0].desc;

if (!((endpoint->bEndpointAddress & USB_DIR_IN) &&
((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)
== USB_ENDPOINT_XFER_INT))) {
if (!usb_endpoint_is_int_in(endpoint)) {
/* we didn't find a Interrupt endpoint with direction IN */
printk(KERN_ERR PFX "Couldn't find an INTR & IN endpoint\n");
return -ENODEV;
Expand Down

0 comments on commit efc0e7b

Please sign in to comment.