diff options
author | Johan Hovold <jhovold@gmail.com> | 2010-05-05 23:45:24 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-05-20 13:21:42 -0700 |
commit | 4272568b3dd8dbad36014a107c0fbbef6400c917 (patch) | |
tree | 66549916d1ac841531ea193bc1ccb61a8aa58f77 /include/linux/usb/serial.h | |
parent | e877048417454b0baca5d4a5aceed72a6602c3be (diff) | |
download | talos-obmc-linux-4272568b3dd8dbad36014a107c0fbbef6400c917.tar.gz talos-obmc-linux-4272568b3dd8dbad36014a107c0fbbef6400c917.zip |
USB: aircable: rewrite using generic read and write implementations
Kill circular buffers for tx and rx as well as read work thread, and
switch to generic kfifo-based write implementation.
This is an example of how prepare_write_buffer and process_read_urb can
be used to handle protocols with packet headers.
Please note the diffstat which shows that the same functionality is now
provided using only a tenth of the code (including whitespace and
comments, though).
Tested-by: Naranjo, Manuel Francisco <naranjo.manuel@gmail.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/linux/usb/serial.h')
0 files changed, 0 insertions, 0 deletions