diff options
author | Shubhrajyoti D <shubhrajyoti@ti.com> | 2012-10-03 17:24:37 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-25 11:29:11 -0700 |
commit | 7ba897d77ce2df4538c2d3e5bcf3640bde3a54cd (patch) | |
tree | beaa7f060c7e4ef2091c5c0d503b92d19bdbec02 /drivers/tty/serial | |
parent | 39aee51d439d8ad7339ee49dc3ccaf91ca61d8f0 (diff) | |
download | kernel-common-7ba897d77ce2df4538c2d3e5bcf3640bde3a54cd.tar.gz kernel-common-7ba897d77ce2df4538c2d3e5bcf3640bde3a54cd.tar.bz2 kernel-common-7ba897d77ce2df4538c2d3e5bcf3640bde3a54cd.zip |
serial: omap: Remove the default setting of special character
Special character detect enable if enabled by default.Received data
comparison with XOFF2 data happens by default.
tty provides only XOFF1 no X0FF2 is provided so no need
to enable check for XOFF2.
Keeping this enabled might give some slow transfers due to dummy xoff2
comparison with xoff2 reset value.
Since not all want the XOFF2 support lets not enable it by
default.
Signed-off-by: Shubhrajyoti D <shubhrajyoti@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/omap-serial.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/tty/serial/omap-serial.c b/drivers/tty/serial/omap-serial.c index fd0fb8cf7cb9..caf49a609166 100644 --- a/drivers/tty/serial/omap-serial.c +++ b/drivers/tty/serial/omap-serial.c @@ -702,11 +702,7 @@ serial_omap_configure_xonxoff serial_out(up, UART_MCR, up->mcr | UART_MCR_TCRTLR); serial_out(up, UART_LCR, UART_LCR_CONF_MODE_B); serial_out(up, UART_TI752_TCR, OMAP_UART_TCR_TRIG); - /* Enable special char function UARTi.EFR_REG[5] and - * load the new software flow control mode IXON or IXOFF - * and restore the UARTi.EFR_REG[4] ENHANCED_EN value. - */ - serial_out(up, UART_EFR, up->efr | UART_EFR_SCD); + serial_out(up, UART_LCR, UART_LCR_CONF_MODE_A); serial_out(up, UART_MCR, up->mcr & ~UART_MCR_TCRTLR); |