[PATCH 5/8] tty: serial: jsm: Fixed file by added more spacing

2020-12-05 Thread Clement Smith
Fixed a coding style issue

Signed-off-by: Clement Smith 
---
 drivers/tty/serial/jsm/jsm_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
index 45e212be64c4..75c9bfa5077c 100644
--- a/drivers/tty/serial/jsm/jsm_tty.c
+++ b/drivers/tty/serial/jsm/jsm_tty.c
@@ -611,7 +611,7 @@ void jsm_input(struct jsm_channel *ch)
tty_insert_flip_char(port, 
*(ch->ch_rqueue + tail + i),  TTY_BREAK);
else if (*(ch->ch_equeue + tail + i) & 
UART_LSR_PE)
tty_insert_flip_char(port, 
*(ch->ch_rqueue + tail + i), TTY_PARITY);
-   else if (*(ch->ch_equeue +tail +i) & 
UART_LSR_FE)
+   else if (*(ch->ch_equeue + tail + i) & 
UART_LSR_FE)
tty_insert_flip_char(port, 
*(ch->ch_rqueue +tail +i), TTY_FRAME);
else
tty_insert_flip_char(port, 
*(ch->ch_rqueue +tail +i), TTY_NORMAL);
-- 
2.27.0



[PATCH 5/8] tty: serial: jsm: Fixed file by added more spacing in line 614

2020-12-05 Thread Clement Smith
Fixed a coding style issue

Signed-off-by: Clement Smith 
---
 drivers/tty/serial/jsm/jsm_tty.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/tty/serial/jsm/jsm_tty.c b/drivers/tty/serial/jsm/jsm_tty.c
index 45e212be64c4..75c9bfa5077c 100644
--- a/drivers/tty/serial/jsm/jsm_tty.c
+++ b/drivers/tty/serial/jsm/jsm_tty.c
@@ -611,7 +611,7 @@ void jsm_input(struct jsm_channel *ch)
tty_insert_flip_char(port, 
*(ch->ch_rqueue + tail + i),  TTY_BREAK);
else if (*(ch->ch_equeue + tail + i) & 
UART_LSR_PE)
tty_insert_flip_char(port, 
*(ch->ch_rqueue + tail + i), TTY_PARITY);
-   else if (*(ch->ch_equeue +tail +i) & 
UART_LSR_FE)
+   else if (*(ch->ch_equeue + tail + i) & 
UART_LSR_FE)
tty_insert_flip_char(port, 
*(ch->ch_rqueue +tail +i), TTY_FRAME);
else
tty_insert_flip_char(port, 
*(ch->ch_rqueue +tail +i), TTY_NORMAL);
-- 
2.27.0