]> git.baikalelectronics.ru Git - kernel.git/commitdiff
serial: 8250_port: Fix spelling mistake
authorZhang Jiaming <jiaming@nfschina.com>
Wed, 29 Jun 2022 09:44:11 +0000 (17:44 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Jun 2022 15:09:16 +0000 (17:09 +0200)
Change 'timeing' to 'timing'.
Change 'Characteres' to 'Characters'.

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
Link: https://lore.kernel.org/r/20220629094411.39066-1-jiaming@nfschina.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_port.c

index d4337d8346c8edc50e82912aa406e42ee11511e7..ed2a606f2da714ca4d0548d9abc3816f8b2042ad 100644 (file)
@@ -1511,7 +1511,7 @@ static inline void __stop_tx(struct uart_8250_port *p)
                if (!(lsr & UART_LSR_THRE))
                        return;
                /*
-                * To provide required timeing and allow FIFO transfer,
+                * To provide required timing and allow FIFO transfer,
                 * __stop_tx_rs485() must be called only when both FIFO and
                 * shift register are empty. The device driver should either
                 * enable interrupt on TEMT or set UART_CAP_NOTEMT that will
@@ -2798,7 +2798,7 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
                port->read_status_mask |= UART_LSR_BI;
 
        /*
-        * Characteres to ignore
+        * Characters to ignore
         */
        port->ignore_status_mask = 0;
        if (termios->c_iflag & IGNPAR)