diff options
author | Johan Hovold <johan@kernel.org> | 2020-10-25 20:45:56 +0300 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2020-11-04 13:01:44 +0300 |
commit | 034e38e8f68767fb5438ae3e608ee82919674177 (patch) | |
tree | a9e029474e5578efe18a62ced0c7e3f9ac48755e /arch/arm/configs/spear3xx_defconfig | |
parent | 6fded8bcbc2e34d2267442376bf4fe9dde196d65 (diff) | |
download | linux-034e38e8f68767fb5438ae3e608ee82919674177.tar.xz |
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 'arch/arm/configs/spear3xx_defconfig')
0 files changed, 0 insertions, 0 deletions