diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-01 13:41:05 -0500 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-12-01 13:41:05 -0500 | 
| commit | e272a186435e747b25b01afb38d172853219fbda (patch) | |
| tree | e7344dd9370bdf2e76a92f235ebc80792f77c620 /drivers/usb/serial/ftdi_sio.c | |
| parent | e8ed34ced175f2670f86c0bebc41af1628952b92 (diff) | |
| parent | 0ec8648379334f1e127ebd5e57a625890f116824 (diff) | |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6:
  USB: Add support for Mobilcom Debitel USB UMTS Surf-Stick to option driver
  USB: work around for EHCI with quirky periodic schedules
  USB: musb: Fix CPPI IRQs not being signaled
  USB: musb: respect usb_request->zero in control requests
  USB: musb: fix ISOC Tx programming for CPPI DMAs
  USB: musb: Remove unwanted message in boot log
  usb: amd5536udc: fixed shared interrupt bug and warning oops
  USB: ftdi_sio: Keep going when write errors are encountered.
  USB: musb_gadget: fix STALL handling
  USB: EHCI: don't send Clear-TT-Buffer following a STALL
Diffstat (limited to 'drivers/usb/serial/ftdi_sio.c')
| -rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 9c60d6d4908a..ebcc6d0e2e91 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c  | |||
| @@ -1937,7 +1937,7 @@ static void ftdi_write_bulk_callback(struct urb *urb) | |||
| 1937 | return; | 1937 | return; | 
| 1938 | } | 1938 | } | 
| 1939 | /* account for transferred data */ | 1939 | /* account for transferred data */ | 
| 1940 | countback = urb->actual_length; | 1940 | countback = urb->transfer_buffer_length; | 
| 1941 | data_offset = priv->write_offset; | 1941 | data_offset = priv->write_offset; | 
| 1942 | if (data_offset > 0) { | 1942 | if (data_offset > 0) { | 
| 1943 | /* Subtract the control bytes */ | 1943 | /* Subtract the control bytes */ | 
| @@ -1950,7 +1950,6 @@ static void ftdi_write_bulk_callback(struct urb *urb) | |||
| 1950 | 1950 | ||
| 1951 | if (status) { | 1951 | if (status) { | 
| 1952 | dbg("nonzero write bulk status received: %d", status); | 1952 | dbg("nonzero write bulk status received: %d", status); | 
| 1953 | return; | ||
| 1954 | } | 1953 | } | 
| 1955 | 1954 | ||
| 1956 | usb_serial_port_softint(port); | 1955 | usb_serial_port_softint(port); | 
