提交 a53f82d6 编写于 作者: N Nava kishore Manne 提交者: Greg Kroah-Hartman

serial: uartps: Fix long line over 80 chars

Trivial patch which fixes one checkpatch warning:
WARNING: line over 80 characters
+		       !(readl(port->membase + CDNS_UART_SR)
			& CDNS_UART_SR_TXFULL)) {

Fixes: c8dbdc84 ("serial: xuartps: Rewrite the interrupt handling logic")
Signed-off-by: NNava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 b6415f24
...@@ -314,7 +314,8 @@ static void cdns_uart_handle_tx(void *dev_id) ...@@ -314,7 +314,8 @@ static void cdns_uart_handle_tx(void *dev_id)
} else { } else {
numbytes = port->fifosize; numbytes = port->fifosize;
while (numbytes && !uart_circ_empty(&port->state->xmit) && while (numbytes && !uart_circ_empty(&port->state->xmit) &&
!(readl(port->membase + CDNS_UART_SR) & CDNS_UART_SR_TXFULL)) { !(readl(port->membase + CDNS_UART_SR) &
CDNS_UART_SR_TXFULL)) {
/* /*
* Get the data from the UART circular buffer * Get the data from the UART circular buffer
* and write it to the cdns_uart's TX_FIFO * and write it to the cdns_uart's TX_FIFO
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册