Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41253
b: refs/heads/master
c: 66722a1
h: refs/heads/master
i:
  41251: 9be7126
v: v3
  • Loading branch information
Luiz Fernando N. Capitulino authored and Greg Kroah-Hartman committed Dec 1, 2006
1 parent 105e00c commit 5aa475c
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: 240661c55646401df64411e04ba5833c411c42bc
refs/heads/master: 66722a194ef96a09ac12d0fe2f9e206f86c29c9f
5 changes: 1 addition & 4 deletions trunk/drivers/usb/storage/onetouch.c
Original file line number Diff line number Diff line change
Expand Up @@ -142,10 +142,7 @@ int onetouch_connect_input(struct us_data *ss)
return -ENODEV;

endpoint = &interface->endpoint[2].desc;
if (!(endpoint->bEndpointAddress & USB_DIR_IN))
return -ENODEV;
if ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK)
!= USB_ENDPOINT_XFER_INT)
if (!usb_endpoint_is_int_in(endpoint))
return -ENODEV;

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

0 comments on commit 5aa475c

Please sign in to comment.