Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188750
b: refs/heads/master
c: 6313620
h: refs/heads/master
v: v3
  • Loading branch information
Johan Hovold authored and Greg Kroah-Hartman committed Mar 19, 2010
1 parent b2a43d4 commit d3fc0a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 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: 0ae1474367a15e1b65a9deed3a73a14475a419fc
refs/heads/master: 6313620228624ff4dcb78b1dbd459d0c208df126
15 changes: 5 additions & 10 deletions trunk/drivers/usb/serial/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -500,23 +500,18 @@ void usb_serial_generic_write_bulk_callback(struct urb *urb)
if (port->urbs_in_flight < 0)
port->urbs_in_flight = 0;
spin_unlock_irqrestore(&port->lock, flags);

if (status) {
dbg("%s - nonzero multi-urb write bulk status "
"received: %d", __func__, status);
return;
}
} else {
port->write_urb_busy = 0;

if (status) {
dbg("%s - nonzero multi-urb write bulk status "
"received: %d", __func__, status);
if (status)
kfifo_reset_out(&port->write_fifo);
} else
else
usb_serial_generic_write_start(port);
}

if (status)
dbg("%s - non-zero urb status: %d", __func__, status);

usb_serial_port_softint(port);
}
EXPORT_SYMBOL_GPL(usb_serial_generic_write_bulk_callback);
Expand Down

0 comments on commit d3fc0a0

Please sign in to comment.