File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ static void bfin_serial_start_tx(struct uart_port *port)
166166 struct tty_struct * tty = uart -> port .info -> port .tty ;
167167
168168#ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS
169- if (uart -> scts && (! bfin_serial_get_mctrl (& uart -> port )& TIOCM_CTS )) {
169+ if (uart -> scts && !( bfin_serial_get_mctrl (& uart -> port ) & TIOCM_CTS )) {
170170 uart -> scts = 0 ;
171171 uart_handle_cts_change (& uart -> port , uart -> scts );
172172 }
@@ -368,7 +368,7 @@ static irqreturn_t bfin_serial_tx_int(int irq, void *dev_id)
368368 struct bfin_serial_port * uart = dev_id ;
369369
370370#ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS
371- if (uart -> scts && (! bfin_serial_get_mctrl (& uart -> port )& TIOCM_CTS )) {
371+ if (uart -> scts && !( bfin_serial_get_mctrl (& uart -> port ) & TIOCM_CTS )) {
372372 uart -> scts = 0 ;
373373 uart_handle_cts_change (& uart -> port , uart -> scts );
374374 }
@@ -504,7 +504,7 @@ static irqreturn_t bfin_serial_dma_tx_int(int irq, void *dev_id)
504504 struct circ_buf * xmit = & uart -> port .info -> xmit ;
505505
506506#ifdef CONFIG_SERIAL_BFIN_HARD_CTSRTS
507- if (uart -> scts && (! bfin_serial_get_mctrl (& uart -> port )& TIOCM_CTS )) {
507+ if (uart -> scts && !( bfin_serial_get_mctrl (& uart -> port )& TIOCM_CTS )) {
508508 uart -> scts = 0 ;
509509 uart_handle_cts_change (& uart -> port , uart -> scts );
510510 }
You can’t perform that action at this time.
0 commit comments