aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2025-11-10 12:12:10 +0100
committerJohan Hovold <johan@kernel.org>2025-11-17 11:23:22 +0100
commit96e5d1b1e69097cb89f8002770cccf464c0dfa1c (patch)
tree0af04826f7dd766bf37d355ae6e49d70da4f664e /drivers/usb
parentf5fef0c5f641435dbd69b9b1f1795ceec67cfe06 (diff)
downloadtip-96e5d1b1e69097cb89f8002770cccf464c0dfa1c.tar.gz
USB: serial: ftdi_sio: enable NDI speed hack consistently
The original submission adding support for NDI EMGUIDE Gemini enabled the existing NDI speed hack which remaps the 19200 line speed to 1.2 Mbps, but this silently fell out during resubmission. Enable the speed hack also for the new NDI product for consistency. This will also allow for cleaning up the implementation without resorting to overengineering. Link: https://lore.kernel.org/all/YQXPR01MB49870CB7B3075ADDF88A3FD4DF43A@YQXPR01MB4987.CANPRD01.PROD.OUTLOOK.COM/ Link: https://lore.kernel.org/all/YQXPR01MB4987F1E0DA41E689779E6958DF48A@YQXPR01MB4987.CANPRD01.PROD.OUTLOOK.COM/ Cc: Ryan Mann <rmann@ndigital.com> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/ftdi_sio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 7e6e7b7c21eaf1..58dbf922208c7a 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1311,7 +1311,8 @@ static u32 get_ftdi_divisor(struct tty_struct *tty,
(product_id == FTDI_NDI_SPECTRA_SCU_PID) ||
(product_id == FTDI_NDI_FUTURE_2_PID) ||
(product_id == FTDI_NDI_FUTURE_3_PID) ||
- (product_id == FTDI_NDI_AURORA_SCU_PID)) &&
+ (product_id == FTDI_NDI_AURORA_SCU_PID) ||
+ (product_id == FTDI_NDI_EMGUIDE_GEMINI_PID)) &&
(baud == 19200)) {
baud = 1200000;
}