Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e66b92f authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "tty: serial: msm_geni_serial: Disable manual rts if CRTSCTS is set"

parents 744965e1 f4d187ce
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1931,6 +1931,13 @@ static void msm_geni_serial_set_termios(struct uart_port *uport,
	geni_serial_write_term_regs(uport, port->loopback, tx_trans_cfg,
		tx_parity_cfg, rx_trans_cfg, rx_parity_cfg, bits_per_char,
		stop_bit_len, ser_clk_cfg);

	if (termios->c_cflag & CRTSCTS) {
		geni_write_reg_nolog(0x0, uport->membase, SE_UART_MANUAL_RFR);
		IPC_LOG_MSG(port->ipc_log_misc, "%s: Manual flow off\n",
				__func__);
	}

	IPC_LOG_MSG(port->ipc_log_misc, "%s: baud %d\n", __func__, baud);
	IPC_LOG_MSG(port->ipc_log_misc, "Tx: trans_cfg%d parity %d\n",
						tx_trans_cfg, tx_parity_cfg);