serial: 8250_port: Fix spelling mistake
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
72a43046b6
commit
137b2d9859
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user