summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-10-25 18:45:55 +0100
committerJohan Hovold <johan@kernel.org>2020-11-04 11:01:39 +0100
commit6fded8bcbc2e34d2267442376bf4fe9dde196d65 (patch)
treee3562c0f1e9d7f5e25a3036ab439b56150ca9152 /drivers/usb
parent7184933b52a6b3e64171819b77f0bab018696cb2 (diff)
USB: serial: keyspan_pda: increase transmitter threshold
Increase the transmitter threshold so that writing isn't resumed until 128 bytes are available in the device buffer thereby allowing for larger and more efficient transfers. 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')
-rw-r--r--drivers/usb/serial/keyspan_pda.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/keyspan_pda.c b/drivers/usb/serial/keyspan_pda.c
index b3fb2ecefb31..3816bbc928b2 100644
--- a/drivers/usb/serial/keyspan_pda.c
+++ b/drivers/usb/serial/keyspan_pda.c
@@ -40,7 +40,7 @@
#define DRIVER_AUTHOR "Brian Warner <warner@lothar.com>"
#define DRIVER_DESC "USB Keyspan PDA Converter driver"
-#define KEYSPAN_TX_THRESHOLD 16
+#define KEYSPAN_TX_THRESHOLD 128
struct keyspan_pda_private {
int tx_room;