Loading drivers/tty/serial/msm_geni_serial.c +4 −2 Original line number Diff line number Diff line Loading @@ -1908,7 +1908,7 @@ static void msm_geni_serial_set_termios(struct uart_port *uport, break; } uport->status &= ~(UPSTAT_AUTOCTS); /* stop bits */ if (termios->c_cflag & CSTOPB) stop_bit_len = TX_STOP_BIT_LEN_2; Loading @@ -1916,8 +1916,10 @@ static void msm_geni_serial_set_termios(struct uart_port *uport, stop_bit_len = TX_STOP_BIT_LEN_1; /* flow control, clear the CTS_MASK bit if using flow control. */ if (termios->c_cflag & CRTSCTS) if (termios->c_cflag & CRTSCTS) { tx_trans_cfg &= ~UART_CTS_MASK; uport->status |= UPSTAT_AUTOCTS; } else tx_trans_cfg |= UART_CTS_MASK; /* status bits to ignore */ Loading Loading
drivers/tty/serial/msm_geni_serial.c +4 −2 Original line number Diff line number Diff line Loading @@ -1908,7 +1908,7 @@ static void msm_geni_serial_set_termios(struct uart_port *uport, break; } uport->status &= ~(UPSTAT_AUTOCTS); /* stop bits */ if (termios->c_cflag & CSTOPB) stop_bit_len = TX_STOP_BIT_LEN_2; Loading @@ -1916,8 +1916,10 @@ static void msm_geni_serial_set_termios(struct uart_port *uport, stop_bit_len = TX_STOP_BIT_LEN_1; /* flow control, clear the CTS_MASK bit if using flow control. */ if (termios->c_cflag & CRTSCTS) if (termios->c_cflag & CRTSCTS) { tx_trans_cfg &= ~UART_CTS_MASK; uport->status |= UPSTAT_AUTOCTS; } else tx_trans_cfg |= UART_CTS_MASK; /* status bits to ignore */ Loading