Files
android_kernel_xiaomi_sm8450/drivers/usb/serial
Johan Hovold c23e5fc1f7 USB: serial: remove multi-urb write from generic driver
Remove multi-urb write from the generic driver and simplify the
prepare_write_buffer prototype:

	int (*prepare_write_buffer)(struct usb_serial_port *port,
						void *dest, size_t size);

The default implementation simply fills dest with data from port write
fifo but drivers can override it if they need to process the outgoing
data (e.g. add headers).

Turn ftdi_sio into a generic fifo-based driver, which lowers CPU usage
significantly for small writes while retaining maximum throughput.

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-05-20 13:21:42 -07:00
..
2010-05-20 13:21:33 -07:00
2008-07-22 13:03:22 -07:00
2010-05-20 13:21:33 -07:00
2010-03-02 14:54:16 -08:00
2008-02-01 14:34:47 -08:00
2010-05-20 13:21:33 -07:00
2010-05-20 13:21:40 -07:00
2010-05-20 13:21:40 -07:00
2010-05-20 13:21:34 -07:00
2010-05-20 13:21:40 -07:00
2007-08-22 14:27:43 -07:00
2008-07-22 13:03:22 -07:00
2010-05-20 13:21:32 -07:00