[PATCH 09/14] USB: serial: keyspan_pda: increase transmitter threshold
From: Johan Hovold
Date: Sun Oct 25 2020 - 13:46:46 EST
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.
Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
---
drivers/usb/serial/keyspan_pda.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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@xxxxxxxxxx>"
#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;
--
2.26.2