Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185421
b: refs/heads/master
c: 444dc54
h: refs/heads/master
i:
  185419: 8a61d09
v: v3
  • Loading branch information
Oliver Neukum authored and Greg Kroah-Hartman committed Mar 2, 2010
1 parent c6a7a65 commit dba87bb
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 3756c7c091f4ca8bcaf89ee3855a326d69209716
refs/heads/master: 444dc54c28740d90cb2d5f38e8163bcb46c5a885
4 changes: 2 additions & 2 deletions trunk/drivers/usb/misc/sisusbvga/sisusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ sisusb_bulkout_msg(struct sisusb_usb_data *sisusb, int index, unsigned int pipe,
sisusb->urbstatus[index] |= SU_URB_BUSY;

/* Submit URB */
retval = usb_submit_urb(urb, GFP_ATOMIC);
retval = usb_submit_urb(urb, GFP_KERNEL);

/* If OK, and if timeout > 0, wait for completion */
if ((retval == 0) && timeout) {
Expand Down Expand Up @@ -306,7 +306,7 @@ sisusb_bulkin_msg(struct sisusb_usb_data *sisusb, unsigned int pipe, void *data,
urb->actual_length = 0;

sisusb->completein = 0;
retval = usb_submit_urb(urb, GFP_ATOMIC);
retval = usb_submit_urb(urb, GFP_KERNEL);
if (retval == 0) {
wait_event_timeout(sisusb->wait_q, sisusb->completein, timeout);
if (!sisusb->completein) {
Expand Down

0 comments on commit dba87bb

Please sign in to comment.