aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
authorJohan Hovold <jhovold@gmail.com>2010-05-05 23:58:13 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:42 -0700
commitc23e5fc1f7dba228558b4a46e68f7af89515b13c (patch)
treeadd71b10dc2275c98d3439fe3756829c2ec0afc9 /tools/perf
parent27c7acf22047fbe4ec4cc36b7c2610dba227697c (diff)
downloadkernel_samsung_smdk4412-c23e5fc1f7dba228558b4a46e68f7af89515b13c.zip
kernel_samsung_smdk4412-c23e5fc1f7dba228558b4a46e68f7af89515b13c.tar.gz
kernel_samsung_smdk4412-c23e5fc1f7dba228558b4a46e68f7af89515b13c.tar.bz2
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>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions