Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 141256
b: refs/heads/master
c: c62d843
h: refs/heads/master
v: v3
  • Loading branch information
Julia Lawall authored and Greg Kroah-Hartman committed Apr 3, 2009
1 parent 5e9b65d commit b9fba0a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f494b663976333ca622a47c8130952614dce0dc1
refs/heads/master: c62d8437aa50cfe996c5a5f8d62387bf9741316f
5 changes: 2 additions & 3 deletions trunk/drivers/staging/rspiusb/rspiusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -781,9 +781,8 @@ static int piusb_probe(struct usb_interface *interface,
dbg("Endpoint[%d]->MaxPacketSize = %d\n", i,
endpoint->wMaxPacketSize);
}
if ((endpoint->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK) ==
USB_ENDPOINT_XFER_BULK) {
if (endpoint->bEndpointAddress & USB_DIR_IN)
if (usb_endpoint_xfer_bulk(endpoint)) {
if (usb_endpoint_dir_in(endpoint))
pdx->hEP[i] =
usb_rcvbulkpipe(pdx->udev,
endpoint->bEndpointAddress);
Expand Down

0 comments on commit b9fba0a

Please sign in to comment.