提交 cee10c8c 编写于 作者: P Peter Hurley 提交者: Greg Kroah-Hartman

serial: 8250: Unfold < 80 char lines

Signed-off-by: NPeter Hurley <peter@hurleysoftware.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 611e0d83
...@@ -1523,11 +1523,9 @@ void serial8250_tx_chars(struct uart_8250_port *up) ...@@ -1523,11 +1523,9 @@ void serial8250_tx_chars(struct uart_8250_port *up)
port->icount.tx++; port->icount.tx++;
if (uart_circ_empty(xmit)) if (uart_circ_empty(xmit))
break; break;
if (up->capabilities & UART_CAP_HFIFO) { if ((up->capabilities & UART_CAP_HFIFO) &&
if ((serial_port_in(port, UART_LSR) & BOTH_EMPTY) != (serial_in(up, UART_LSR) & BOTH_EMPTY) != BOTH_EMPTY)
BOTH_EMPTY) break;
break;
}
} while (--count > 0); } while (--count > 0);
if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS) if (uart_circ_chars_pending(xmit) < WAKEUP_CHARS)
...@@ -2753,8 +2751,7 @@ serial8250_verify_port(struct uart_port *port, struct serial_struct *ser) ...@@ -2753,8 +2751,7 @@ serial8250_verify_port(struct uart_port *port, struct serial_struct *ser)
return 0; return 0;
} }
static const char * static const char *serial8250_type(struct uart_port *port)
serial8250_type(struct uart_port *port)
{ {
int type = port->type; int type = port->type;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册