Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 330e3c4c authored by Andreas Mohr's avatar Andreas Mohr Committed by Greg Kroah-Hartman
Browse files

USB: ftdi_sio: correct spelling in implementation file



- correct spelling
- correct non-tabbed .tiocmget/.tiocmset entries


Signed-off-by: default avatarAndreas Mohr <andi@lisas.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 0a2a3775
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -1327,20 +1327,20 @@ static void ftdi_determine_type(struct usb_serial_port *port)
					__func__);
		}
	} else if (version < 0x200) {
		/* Old device.  Assume its the original SIO. */
		/* Old device.  Assume it's the original SIO. */
		priv->chip_type = SIO;
		priv->baud_base = 12000000 / 16;
		priv->write_offset = 1;
	} else if (version < 0x400) {
		/* Assume its an FT8U232AM (or FT8U245AM) */
		/* Assume it's an FT8U232AM (or FT8U245AM) */
		/* (It might be a BM because of the iSerialNumber bug,
		 * but it will still work as an AM device.) */
		priv->chip_type = FT8U232AM;
	} else if (version < 0x600) {
		/* Assume its an FT232BM (or FT245BM) */
		/* Assume it's an FT232BM (or FT245BM) */
		priv->chip_type = FT232BM;
	} else {
		/* Assume its an FT232R  */
		/* Assume it's an FT232R */
		priv->chip_type = FT232RL;
	}
	dev_info(&udev->dev, "Detected %s\n", ftdi_chip_name[priv->chip_type]);