[PATCH] tty: fix typos in comments

From: Hemanth Selam

Date: Fri Sep 04 2026 - 08:10:03 EST


Fix typos in comments, reported by scripts/checkpatch.pl using the
misspelling list in scripts/spelling.txt. Only touches comments, no code
changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
---
drivers/tty/serial/8250/8250_exar.c | 2 +-
drivers/tty/serial/ar933x_uart.c | 4 ++--
drivers/tty/serial/atmel_serial.c | 2 +-
drivers/tty/serial/imx.c | 2 +-
drivers/tty/serial/men_z135_uart.c | 2 +-
drivers/tty/serial/mvebu-uart.c | 2 +-
drivers/tty/serial/mxs-auart.c | 2 +-
drivers/tty/serial/pic32_uart.c | 2 +-
drivers/tty/serial/pmac_zilog.c | 4 ++--
drivers/tty/serial/pmac_zilog.h | 2 +-
drivers/tty/serial/serial-tegra.c | 2 +-
drivers/tty/serial/st-asc.c | 4 ++--
drivers/tty/serial/uartlite.c | 4 ++--
drivers/tty/serial/xilinx_uartps.c | 2 +-
drivers/tty/vt/vt.c | 2 +-
include/linux/tty_driver.h | 2 +-
16 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/drivers/tty/serial/8250/8250_exar.c b/drivers/tty/serial/8250/8250_exar.c
index 836792e861bf..1e37e3e5d319 100644
--- a/drivers/tty/serial/8250/8250_exar.c
+++ b/drivers/tty/serial/8250/8250_exar.c
@@ -587,7 +587,7 @@ pci_fastcom335_setup(struct exar8250 *priv, struct pci_dev *pcidev,
}

/**
- * cti_tristate_disable() - Disable RS485 transciever tristate
+ * cti_tristate_disable() - Disable RS485 transceiver tristate
* @priv: Device's private structure
* @port_num: Port number to set tristate off
*
diff --git a/drivers/tty/serial/ar933x_uart.c b/drivers/tty/serial/ar933x_uart.c
index 5b491db9d2fc..118fa8b1e44b 100644
--- a/drivers/tty/serial/ar933x_uart.c
+++ b/drivers/tty/serial/ar933x_uart.c
@@ -343,7 +343,7 @@ static void ar933x_uart_set_termios(struct uart_port *port,
ar933x_uart_rmw_set(up, AR933X_UART_CS_REG,
AR933X_UART_CS_HOST_INT_EN);

- /* enable RX and TX ready overide */
+ /* enable RX and TX ready override */
ar933x_uart_rmw_set(up, AR933X_UART_CS_REG,
AR933X_UART_CS_TX_READY_ORIDE | AR933X_UART_CS_RX_READY_ORIDE);

@@ -490,7 +490,7 @@ static int ar933x_uart_startup(struct uart_port *port)
ar933x_uart_rmw_set(up, AR933X_UART_CS_REG,
AR933X_UART_CS_HOST_INT_EN);

- /* enable RX and TX ready overide */
+ /* enable RX and TX ready override */
ar933x_uart_rmw_set(up, AR933X_UART_CS_REG,
AR933X_UART_CS_TX_READY_ORIDE | AR933X_UART_CS_RX_READY_ORIDE);

diff --git a/drivers/tty/serial/atmel_serial.c b/drivers/tty/serial/atmel_serial.c
index 5d8c1cfc1c60..c4b465f6a69f 100644
--- a/drivers/tty/serial/atmel_serial.c
+++ b/drivers/tty/serial/atmel_serial.c
@@ -40,7 +40,7 @@
/* Revisit: We should calculate this based on the actual port settings */
#define PDC_RX_TIMEOUT (3 * 10) /* 3 bytes */

-/* The minium number of data FIFOs should be able to contain */
+/* The minimum number of data FIFOs should be able to contain */
#define ATMEL_MIN_FIFO_SIZE 8
/*
* These two offsets are substracted from the RX FIFO size to define the RTS
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index 513dbe95f7e9..0eac2fd2ed37 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -137,7 +137,7 @@
#define USR1_DTRD (1<<7) /* DTR Delta */
#define USR1_RXDS (1<<6) /* Receiver idle interrupt flag */
#define USR1_AIRINT (1<<5) /* Async IR wake interrupt flag */
-#define USR1_AWAKE (1<<4) /* Aysnc wake interrupt flag */
+#define USR1_AWAKE (1<<4) /* Async wake interrupt flag */
#define USR2_ADET (1<<15) /* Auto baud rate detect complete */
#define USR2_TXFE (1<<14) /* Transmit buffer FIFO empty */
#define USR2_DTRF (1<<13) /* DTR edge interrupt flag */
diff --git a/drivers/tty/serial/men_z135_uart.c b/drivers/tty/serial/men_z135_uart.c
index 9138fa29d301..41dd7059e367 100644
--- a/drivers/tty/serial/men_z135_uart.c
+++ b/drivers/tty/serial/men_z135_uart.c
@@ -532,7 +532,7 @@ static unsigned int men_z135_get_mctrl(struct uart_port *port)
* men_z135_stop_tx() - Stop transmitting characters
* @port: The UART port
*
- * Stop transmitting characters. This might be due to CTS line becomming
+ * Stop transmitting characters. This might be due to CTS line becoming
* inactive or the tty layer indicating we want to stop transmission due to
* an XOFF character.
*/
diff --git a/drivers/tty/serial/mvebu-uart.c b/drivers/tty/serial/mvebu-uart.c
index 33ea496c93b2..0306f219feb0 100644
--- a/drivers/tty/serial/mvebu-uart.c
+++ b/drivers/tty/serial/mvebu-uart.c
@@ -942,7 +942,7 @@ static int mvebu_uart_probe(struct platform_device *pdev)

/* Manage interrupts */
if (platform_irq_count(pdev) == 1) {
- /* Old bindings: no name on the single unamed UART0 IRQ */
+ /* Old bindings: no name on the single unnamed UART0 IRQ */
irq = platform_get_irq(pdev, 0);
if (irq < 0)
return irq;
diff --git a/drivers/tty/serial/mxs-auart.c b/drivers/tty/serial/mxs-auart.c
index 697318dbb146..5355409134da 100644
--- a/drivers/tty/serial/mxs-auart.c
+++ b/drivers/tty/serial/mxs-auart.c
@@ -1009,7 +1009,7 @@ static void mxs_auart_settermios(struct uart_port *u,
if (is_imx28_auart(s)
&& test_bit(MXS_AUART_RTSCTS, &s->flags)) {
if (!mxs_auart_dma_init(s))
- /* enable DMA tranfer */
+ /* enable DMA transfer */
ctrl2 |= AUART_CTRL2_TXDMAE | AUART_CTRL2_RXDMAE
| AUART_CTRL2_DMAONERR;
}
diff --git a/drivers/tty/serial/pic32_uart.c b/drivers/tty/serial/pic32_uart.c
index 8407f85776c0..1d4adb5c7d88 100644
--- a/drivers/tty/serial/pic32_uart.c
+++ b/drivers/tty/serial/pic32_uart.c
@@ -547,7 +547,7 @@ static int pic32_uart_startup(struct uart_port *port)
pic32_uart_writel(sport, PIC32_CLR(PIC32_UART_STA),
PIC32_UART_STA_UTXISEL1);

- /* enable all interrupts and eanable uart */
+ /* enable all interrupts and enable uart */
pic32_uart_en_and_unmask(port);

local_irq_restore(flags);
diff --git a/drivers/tty/serial/pmac_zilog.c b/drivers/tty/serial/pmac_zilog.c
index e3a919328695..31cb2cde3116 100644
--- a/drivers/tty/serial/pmac_zilog.c
+++ b/drivers/tty/serial/pmac_zilog.c
@@ -368,7 +368,7 @@ static void pmz_transmit_chars(struct uart_pmac_port *uap)
* R3 still signals the interrupts and we see them when taking
* an interrupt for the other channel (this could be a qemu
* bug but since the ESCC doc doesn't specify precsiely whether
- * R3 interrup status bits are masked by R1 interrupt enable
+ * R3 interrupt status bits are masked by R1 interrupt enable
* bits, better safe than sorry). --BenH.
*/
if (!ZS_IS_OPEN(uap))
@@ -1929,7 +1929,7 @@ static int __init pmz_console_setup(struct console *co, char *options)
port = &uap->port;

/*
- * Mark port as beeing a console
+ * Mark port as being a console
*/
uap->flags |= PMACZILOG_FLAG_IS_CONS;

diff --git a/drivers/tty/serial/pmac_zilog.h b/drivers/tty/serial/pmac_zilog.h
index 837b97ca0a90..40f47b389b55 100644
--- a/drivers/tty/serial/pmac_zilog.h
+++ b/drivers/tty/serial/pmac_zilog.h
@@ -21,7 +21,7 @@ struct uart_pmac_port {
* early inited port)
*/
struct macio_dev *dev;
- /* device node to this port, this points to one of 2 childs
+ /* device node to this port, this points to one of 2 children
* of "escc" node (ie. ch-a or ch-b)
*/
struct device_node *node;
diff --git a/drivers/tty/serial/serial-tegra.c b/drivers/tty/serial/serial-tegra.c
index 8004fc00fb9c..2eb49bcc766d 100644
--- a/drivers/tty/serial/serial-tegra.c
+++ b/drivers/tty/serial/serial-tegra.c
@@ -1096,7 +1096,7 @@ static int tegra_uart_hw_init(struct tegra_uart_port *tup)
* EORD is different interrupt than RX_TIMEOUT - RX_TIMEOUT occurs when
* the DATA is sitting in the FIFO and couldn't be transferred to the
* DMA as the DMA size alignment (4 bytes) is not met. EORD will be
- * triggered when there is a pause of the incomming data stream for 4
+ * triggered when there is a pause of the incoming data stream for 4
* characters long.
*
* For pauses in the data which is not aligned to 4 bytes, we get
diff --git a/drivers/tty/serial/st-asc.c b/drivers/tty/serial/st-asc.c
index 6ed9a327702b..f065b300ac09 100644
--- a/drivers/tty/serial/st-asc.c
+++ b/drivers/tty/serial/st-asc.c
@@ -378,7 +378,7 @@ static void asc_set_mctrl(struct uart_port *port, unsigned int mctrl)
static unsigned int asc_get_mctrl(struct uart_port *port)
{
/*
- * This routine is used for geting signals of: DTR, DCD, DSR, RI,
+ * This routine is used for getting signals of: DTR, DCD, DSR, RI,
* and CTS/RTS
*/
return TIOCM_CAR | TIOCM_DSR | TIOCM_CTS;
@@ -829,7 +829,7 @@ static void asc_console_putchar(struct uart_port *port, unsigned char ch)
{
unsigned int timeout = 1000000;

- /* Wait for upto 1 second in case flow control is stopping us. */
+ /* Wait for up to 1 second in case flow control is stopping us. */
while (--timeout && !asc_txfifo_is_half_empty(port))
udelay(1);

diff --git a/drivers/tty/serial/uartlite.c b/drivers/tty/serial/uartlite.c
index 6240c3d4dfd7..153233fe4347 100644
--- a/drivers/tty/serial/uartlite.c
+++ b/drivers/tty/serial/uartlite.c
@@ -163,7 +163,7 @@ static int ulite_receive(struct uart_port *port, int stat)
port->icount.frame++;


- /* drop byte with parity error if IGNPAR specificed */
+ /* drop byte with parity error if IGNPAR specified */
if (stat & port->ignore_status_mask & ULITE_STATUS_PARITY)
stat &= ~ULITE_STATUS_RXVALID;

@@ -393,7 +393,7 @@ static int ulite_request_port(struct uart_port *port)
ret = uart_in32(ULITE_CONTROL, port);
uart_out32(ULITE_CONTROL_RST_TX, ULITE_CONTROL, port);
ret = uart_in32(ULITE_STATUS, port);
- /* Endianess detection */
+ /* Endianness detection */
if ((ret & ULITE_STATUS_TXEMPTY) != ULITE_STATUS_TXEMPTY)
pdata->reg_ops = &uartlite_le;

diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index a072b75dbaf2..7eaf70614f9c 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -1476,7 +1476,7 @@ static int cdns_uart_suspend(struct device *device)
readl(port->membase + CDNS_UART_FIFO);
/* set RX trigger level to 1 */
writel(1, port->membase + CDNS_UART_RXWM);
- /* disable RX timeout interrups */
+ /* disable RX timeout interrupts */
writel(CDNS_UART_IXR_TOUT, port->membase + CDNS_UART_IDR);
uart_port_unlock_irqrestore(port, flags);
}
diff --git a/drivers/tty/vt/vt.c b/drivers/tty/vt/vt.c
index 8f467b22b799..494749282041 100644
--- a/drivers/tty/vt/vt.c
+++ b/drivers/tty/vt/vt.c
@@ -1142,7 +1142,7 @@ int vc_allocate(unsigned int currcons) /* return 0 on success */
static inline int resize_screen(struct vc_data *vc, int width, int height,
bool from_user)
{
- /* Resizes the resolution of the display adapater */
+ /* Resizes the resolution of the display adapter */
int err = 0;

if (vc->vc_sw->con_resize)
diff --git a/include/linux/tty_driver.h b/include/linux/tty_driver.h
index 1f2896e56e77..626e0692c97a 100644
--- a/include/linux/tty_driver.h
+++ b/include/linux/tty_driver.h
@@ -22,7 +22,7 @@ struct serial_struct;
* These are flags passed to tty_alloc_driver().
*
* @TTY_DRIVER_INSTALLED:
- * Whether this driver was succesfully installed. This is a tty internal
+ * Whether this driver was successfully installed. This is a tty internal
* flag. Do not touch.
*
* @TTY_DRIVER_RESET_TERMIOS:
--
2.48.1