Skip to content

Commit 47ed918

Browse files
committed
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>
1 parent 73de1dd commit 47ed918

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

drivers/usb/serial/ftdi_sio.c

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2230,19 +2230,21 @@ static int ftdi_port_probe(struct usb_serial_port *port)
22302230
return result;
22312231
}
22322232

2233-
/* Setup for the USB-UIRT device, which requires hardwired
2234-
* baudrate (38400 gets mapped to 312500) */
2235-
/* Called from usbserial:serial_probe */
2233+
/*
2234+
* Setup for the USB-UIRT device, which requires hardwired baudrate
2235+
* (38400 gets mapped to 312500).
2236+
*/
22362237
static void ftdi_USB_UIRT_setup(struct ftdi_private *priv)
22372238
{
22382239
priv->flags |= ASYNC_SPD_CUST;
22392240
priv->custom_divisor = 77;
22402241
priv->force_baud = 38400;
22412242
}
22422243

2243-
/* Setup for the HE-TIRA1 device, which requires hardwired
2244-
* baudrate (38400 gets mapped to 100000) and RTS-CTS enabled. */
2245-
2244+
/*
2245+
* Setup for the HE-TIRA1 device, which requires hardwired baudrate
2246+
* (38400 gets mapped to 100000) and RTS-CTS enabled.
2247+
*/
22462248
static void ftdi_HE_TIRA1_setup(struct ftdi_private *priv)
22472249
{
22482250
priv->flags |= ASYNC_SPD_CUST;
@@ -2258,10 +2260,9 @@ static void ftdi_HE_TIRA1_setup(struct ftdi_private *priv)
22582260
*/
22592261
static int ndi_latency_timer = 1;
22602262

2261-
/* Setup for the NDI FTDI-based USB devices, which requires hardwired
2263+
/*
2264+
* Setup for the NDI FTDI-based USB devices, which requires hardwired
22622265
* baudrate (19200 gets mapped to 1200000).
2263-
*
2264-
* Called from usbserial:serial_probe.
22652266
*/
22662267
static int ftdi_NDI_device_setup(struct usb_serial *serial)
22672268
{

0 commit comments

Comments
 (0)