X-Git-Url: http://git.samba.org/samba.git/?a=blobdiff_plain;f=drivers%2Ftty%2Fserial%2Fqcom_geni_serial.c;h=38016609c7fa99b1726bcebe3ed04b1fd6a0c724;hb=6b8f9159166545e576b2bc8a0c984beaeae9cc05;hp=a72d6d9fb98340e6d283876a7f7b2f96c31479e0;hpb=769e47094dcc0ddc8fe8e04c13565a71134ec1a2;p=sfrench%2Fcifs-2.6.git diff --git a/drivers/tty/serial/qcom_geni_serial.c b/drivers/tty/serial/qcom_geni_serial.c index a72d6d9fb983..38016609c7fa 100644 --- a/drivers/tty/serial/qcom_geni_serial.c +++ b/drivers/tty/serial/qcom_geni_serial.c @@ -225,7 +225,7 @@ static unsigned int qcom_geni_serial_get_mctrl(struct uart_port *uport) unsigned int mctrl = TIOCM_DSR | TIOCM_CAR; u32 geni_ios; - if (uart_console(uport) || !uart_cts_enabled(uport)) { + if (uart_console(uport)) { mctrl |= TIOCM_CTS; } else { geni_ios = readl_relaxed(uport->membase + SE_GENI_IOS); @@ -241,7 +241,7 @@ static void qcom_geni_serial_set_mctrl(struct uart_port *uport, { u32 uart_manual_rfr = 0; - if (uart_console(uport) || !uart_cts_enabled(uport)) + if (uart_console(uport)) return; if (!(mctrl & TIOCM_RTS))