kernel-fxtec-pro1x/include/linux/usb
David VomLehn 8e8dce0650 USB: use kfifo to buffer usb-generic serial writes
When do_output_char() attempts to write a carriage return/line feed sequence,
it first checks to see how much buffer room is available. If there are at least
two characters free, it will write the carriage return/line feed with two calls
to tty_put_char(). It calls the tty_operation functions write() for devices that
don't support the tty_operations function put_char(). If the USB generic serial
device's write URB is not in use, it will return the buffer size when asked how
much room is available. The write() of the carriage return will cause it to mark
the write URB busy, so the subsequent write() of the line feed will be ignored.

This patch uses the kfifo infrastructure to implement a write FIFO that
accurately returns the amount of space available in the buffer.

Signed-off-by: David VomLehn <dvomlehn@cisco.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-09-23 06:46:34 -07:00
..
association.h
atmel_usba_udc.h
audio.h USB: audio: guard kernel-only code with __KERNEL__ 2009-09-23 06:46:31 -07:00
c67x00.h
cdc.h
ch9.h USB: Move vendor subclass definition from usb/audio.h to usb/ch9.h 2009-09-23 06:46:19 -07:00
composite.h
ehci_def.h USB: EHCI: Add Intel Moorestown EHCI controller HOSTPCx extensions and support phy low power mode 2009-09-23 06:46:29 -07:00
g_printer.h
gadget.h
gadgetfs.h
gpio_vbus.h
input.h
iowarrior.h
irda.h
isp116x.h
isp1362.h USB: NXP ISP1362 USB host driver 2009-09-23 06:46:30 -07:00
isp1760.h USB: isp1760: allow platform devices to customize devflags 2009-09-23 06:46:29 -07:00
Kbuild
langwell_udc.h
m66592.h
midi.h
musb.h
net2280.h
otg.h
quirks.h
r8a66597.h
rndis_host.h
serial.h USB: use kfifo to buffer usb-generic serial writes 2009-09-23 06:46:34 -07:00
sl811.h
tmc.h
usbnet.h
video.h
vstusb.h
wusb-wa.h
wusb.h