Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

serial: 8250: Fix typos in comments across various files

This patch fixes several typos in the comments within the tty/8250
directory to improve readability and code documentation.

Detected using codespell.

Signed-off-by: Yu Jiaoliang <yujiaoliang@vivo.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20240929100931.530620-1-yujiaoliang@vivo.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Yu Jiaoliang and committed by
Greg Kroah-Hartman
0927c649 dbe683fc

+8 -8
+1 -1
drivers/tty/serial/8250/8250_bcm7271.c
··· 812 812 /* 813 813 * if Receive Data Interrupt is enabled and 814 814 * we're uing hardware flow control, deassert 815 - * RTS and wait for any chars in the pipline to 815 + * RTS and wait for any chars in the pipeline to 816 816 * arrive and then check for DR again. 817 817 */ 818 818 if ((ier & UART_IER_RDI) && (up->mcr & UART_MCR_AFE)) {
+2 -2
drivers/tty/serial/8250/8250_exar.c
··· 362 362 * @priv: Device's private structure 363 363 * @mpio_num: MPIO number/offset to configure 364 364 * 365 - * Configure a single MPIO as an output and disable tristate. It is reccomended 365 + * Configure a single MPIO as an output and disable tristate. It is recommended 366 366 * to set the level with exar_mpio_set_high()/exar_mpio_set_low() prior to 367 367 * calling this function to ensure default MPIO pin state. 368 368 * ··· 518 518 serial_port_out(port, UART_XR_EFR, UART_EFR_ECB); 519 519 520 520 /* 521 - * Make sure all interrups are masked until initialization is 521 + * Make sure all interrupts are masked until initialization is 522 522 * complete and the FIFOs are cleared 523 523 * 524 524 * Synchronize UART_IER access against the console.
+1 -1
drivers/tty/serial/8250/8250_fintek.c
··· 125 125 if (!request_muxed_region(base_port, 2, "8250_fintek")) 126 126 return -EBUSY; 127 127 128 - /* Force to deactive all SuperIO in this base_port */ 128 + /* Force to deactivate all SuperIO in this base_port */ 129 129 outb(EXIT_KEY, base_port + ADDR_PORT); 130 130 131 131 outb(key, base_port + ADDR_PORT);
+2 -2
drivers/tty/serial/8250/8250_mtk.c
··· 346 346 /* 347 347 * Mediatek UARTs use an extra highspeed register (MTK_UART_HIGHS) 348 348 * 349 - * We need to recalcualte the quot register, as the claculation depends 350 - * on the vaule in the highspeed register. 349 + * We need to recalculate the quot register, as the calculation depends 350 + * on the value in the highspeed register. 351 351 * 352 352 * Some baudrates are not supported by the chip, so we use the next 353 353 * lower rate supported and update termios c_flag.
+2 -2
drivers/tty/serial/8250/8250_omap.c
··· 1304 1304 1305 1305 /* 1306 1306 * This is mostly serial8250_handle_irq(). We have a slightly different DMA 1307 - * hoook for RX/TX and need different logic for them in the ISR. Therefore we 1307 + * hook for RX/TX and need different logic for them in the ISR. Therefore we 1308 1308 * use the default routine in the non-DMA case and this one for with DMA. 1309 1309 */ 1310 1310 static int omap_8250_dma_handle_irq(struct uart_port *port) ··· 1338 1338 serial8250_tx_chars(up); 1339 1339 } else { 1340 1340 /* 1341 - * try again due to an earlier failer which 1341 + * try again due to an earlier failure which 1342 1342 * might have been resolved by now. 1343 1343 */ 1344 1344 if (omap_8250_tx_dma(up))