summary refs log tree commit diff
diff options
context:
space:
mode:
authorNava kishore Manne <nava.manne@xilinx.com>2019-06-12 13:14:41 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-18 09:34:28 +0200
commita53f82d6ccb5199ba4f3b54ae3ff0298ffe1c91d (patch)
tree38297ebdf44ac4124799c34b7ebc5e7cd62398ae
parentb6415f243919703c97483a29ff918872f66f165c (diff)
downloadlinux-a53f82d6ccb5199ba4f3b54ae3ff0298ffe1c91d.tar.gz
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: c8dbdc842d30 ("serial: xuartps: Rewrite the interrupt handling logic")
Signed-off-by: Nava kishore Manne <nava.manne@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/tty/serial/xilinx_uartps.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/tty/serial/xilinx_uartps.c b/drivers/tty/serial/xilinx_uartps.c
index 2dff879f988e..69ed81d1338b 100644
--- a/drivers/tty/serial/xilinx_uartps.c
+++ b/drivers/tty/serial/xilinx_uartps.c
@@ -314,7 +314,8 @@ static void cdns_uart_handle_tx(void *dev_id)
 	} else {
 		numbytes = port->fifosize;
 		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
 			 * and write it to the cdns_uart's TX_FIFO