[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201025174600.27896-10-johan@kernel.org>
Date: Sun, 25 Oct 2020 18:45:55 +0100
From: Johan Hovold <johan@...nel.org>
To: linux-usb@...r.kernel.org
Cc: "Ahmed S . Darwish" <a.darwish@...utronix.de>,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Thomas Gleixner <tglx@...utronix.de>,
linux-kernel@...r.kernel.org, Johan Hovold <johan@...nel.org>
Subject: [PATCH 09/14] 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.
Signed-off-by: Johan Hovold <johan@...nel.org>
---
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@...har.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;
--
2.26.2
Powered by blists - more mailing lists