USB: ftdi_sio: switch to generic write implementation
commitd3901a064cfedf892c00704aa4e51d119f04a65e
authorJohan Hovold <jhovold@gmail.com>
Wed, 5 May 2010 21:44:17 +0000 (5 23:44 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:42 +0000 (20 13:21 -0700)
tree5c80f8903db255cefee628697cb8e6038765320a
parente07afd3fb906647d37108206075834f8c670b7e3
USB: ftdi_sio: switch to generic write implementation

Switch to the generic, multi-urb, write implementation.

Note that this will also make it fairly easy to use the generic
fifo-based write implementation: simply unset the multi_urb_write flag
and modify prepare_write_buffer (or unset if not using a legacy SIO
device). This may be desirable for instance on an embedded system where
optimal throughput at high baudrates may not be as important as other
factors (e.g. no allocations during runtime and less pressure on host
stack).

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c