]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
USB: serial: ftdi_sio: clean up NDI speed hack
authorJohan Hovold <johan@kernel.org>
Mon, 10 Nov 2025 11:12:11 +0000 (12:12 +0100)
committerJohan Hovold <johan@kernel.org>
Mon, 17 Nov 2025 10:23:24 +0000 (11:23 +0100)
commitcde24373724bd3a0937b7af9453dfc6d7433c726
tree83cdd746641727e7995bc20e4e816b9daaea7ad7
parent96e5d1b1e69097cb89f8002770cccf464c0dfa1c
USB: serial: ftdi_sio: clean up NDI speed hack

NDI devices remap the 19200 line speed to 1.2 Mbps.

Use the quirk pointer from the match table to enable the quirk instead
of comparing PIDs on every speed change.

Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/ftdi_sio.c