Skip to content

Commit 96e5d1b

Browse files
committed
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>
1 parent f5fef0c commit 96e5d1b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

drivers/usb/serial/ftdi_sio.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,8 @@ static u32 get_ftdi_divisor(struct tty_struct *tty,
13111311
(product_id == FTDI_NDI_SPECTRA_SCU_PID) ||
13121312
(product_id == FTDI_NDI_FUTURE_2_PID) ||
13131313
(product_id == FTDI_NDI_FUTURE_3_PID) ||
1314-
(product_id == FTDI_NDI_AURORA_SCU_PID)) &&
1314+
(product_id == FTDI_NDI_AURORA_SCU_PID) ||
1315+
(product_id == FTDI_NDI_EMGUIDE_GEMINI_PID)) &&
13151316
(baud == 19200)) {
13161317
baud = 1200000;
13171318
}

0 commit comments

Comments
 (0)