Commit a53f82d6 authored by Nava kishore Manne's avatar Nava kishore Manne Committed by 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: default avatarNava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment