diff options
| author | Johan Hovold <johan@kernel.org> | 2025-11-10 12:12:08 +0100 |
|---|---|---|
| committer | Johan Hovold <johan@kernel.org> | 2025-11-17 11:23:17 +0100 |
| commit | 47ed918ececc7cad21268ae32bf69be80014e04f (patch) | |
| tree | 09c07235eac433616195f57ac128d900c59d1ea3 /drivers/usb | |
| parent | 73de1ddaf4e6f851eb3f67751c3aadb62229094b (diff) | |
| download | tip-47ed918ececc7cad21268ae32bf69be80014e04f.tar.gz | |
USB: serial: ftdi_sio: clean up quirk comments
Clean up the quirk function comments that were using odd formatting and
were referring to a non-existing function.
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb')
| -rw-r--r-- | drivers/usb/serial/ftdi_sio.c | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c index 3f224e3c3322f6..622452763456c6 100644 --- a/drivers/usb/serial/ftdi_sio.c +++ b/drivers/usb/serial/ftdi_sio.c @@ -2230,9 +2230,10 @@ err_free: return result; } -/* Setup for the USB-UIRT device, which requires hardwired - * baudrate (38400 gets mapped to 312500) */ -/* Called from usbserial:serial_probe */ +/* + * Setup for the USB-UIRT device, which requires hardwired baudrate + * (38400 gets mapped to 312500). + */ static void ftdi_USB_UIRT_setup(struct ftdi_private *priv) { priv->flags |= ASYNC_SPD_CUST; @@ -2240,9 +2241,10 @@ static void ftdi_USB_UIRT_setup(struct ftdi_private *priv) priv->force_baud = 38400; } -/* Setup for the HE-TIRA1 device, which requires hardwired - * baudrate (38400 gets mapped to 100000) and RTS-CTS enabled. */ - +/* + * Setup for the HE-TIRA1 device, which requires hardwired baudrate + * (38400 gets mapped to 100000) and RTS-CTS enabled. + */ static void ftdi_HE_TIRA1_setup(struct ftdi_private *priv) { priv->flags |= ASYNC_SPD_CUST; @@ -2258,10 +2260,9 @@ static void ftdi_HE_TIRA1_setup(struct ftdi_private *priv) */ static int ndi_latency_timer = 1; -/* Setup for the NDI FTDI-based USB devices, which requires hardwired +/* + * Setup for the NDI FTDI-based USB devices, which requires hardwired * baudrate (19200 gets mapped to 1200000). - * - * Called from usbserial:serial_probe. */ static int ftdi_NDI_device_setup(struct usb_serial *serial) { |
