aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorEric W. Biederman <[email protected]>2009-11-17 19:10:48 -0800
committerGreg Kroah-Hartman <[email protected]>2009-11-30 16:43:15 -0800
commit0de6ab8b91f2e1e8e7fc66a8b5c5e8ca82ea16b7 (patch)
tree8b7438074e39102a056696d3ea96b9a6a08542c3 /drivers/mtd/lpddr/lpddr_cmds.c
parentcea83241b3a84499c4f9b12f8288f787e7aa6383 (diff)
USB: ftdi_sio: Keep going when write errors are encountered.
The use of urb->actual_length to update tx_outstanding_bytes implicitly assumes that the number of bytes actually written is the same as the number of bytes we tried to write. On error that assumption is violated so just use transfer_buffer_length the number of bytes we intended to write to the device. If an error occurs we need to fall through and call usb_serial_port_softint to wake up processes waiting in tty_wait_until_sent. Signed-off-by: Eric W. Biederman <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions