diff options
| author | David S. Miller <davem@davemloft.net> | 2009-12-03 15:51:21 -0500 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2009-12-03 15:51:21 -0500 |
| commit | a6c872afb2536f47285e6643f4629dec7520041d (patch) | |
| tree | 4b54e69fc6594f9afc1277520a350db04e578e77 /drivers/usb/serial/ftdi_sio.c | |
| parent | 9fe02668fe48a1d546196bc1392330ff28d9bd57 (diff) | |
| parent | 22763c5cf3690a681551162c15d34d935308c8d7 (diff) | |
Merge branch 'master' of /home/davem/src/GIT/linux-2.6/
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); |
