summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/kobil_sct.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-10-25 18:45:56 +0100
committerJohan Hovold <johan@kernel.org>2020-11-04 11:01:44 +0100
commit034e38e8f68767fb5438ae3e608ee82919674177 (patch)
treea9e029474e5578efe18a62ced0c7e3f9ac48755e /drivers/usb/serial/kobil_sct.h
parent6fded8bcbc2e34d2267442376bf4fe9dde196d65 (diff)
USB: serial: keyspan_pda: add write-fifo support
Use the port write fifo and generic chars_and_buffer and write_room implementations when writing. This not only allows for more efficient transfers, but more importantly fixes the remaining issues related to the conservative write_room() implementation which could prevent the line discipline from making forward progress (e.g. waiting for n > 1 bytes of space to become available). Note that this also allows using the driver for the system console without dropping data when the write URB is busy (including when adding carriage return on line feed). Acked-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/kobil_sct.h')
0 files changed, 0 insertions, 0 deletions