summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 16:01:09 -0800
committerGreg Kroah-Hartman <gregkh@suse.de>2011-11-15 16:01:09 -0800
commit6edf0c9b1c26d047370cf2f35ff6bb3082243ec3 (patch)
tree0ade35f9a52073597a848be40c3848a08e1e2bb7 /drivers/tty
parent93f3350c46fa5dfcc9650eb19b186e71ffc924c3 (diff)
downloadlinux-rt-6edf0c9b1c26d047370cf2f35ff6bb3082243ec3.tar.gz
Revert "tty/serial: Prevent drop of DCD on suspend for Tegra UARTs"
This reverts commit 9636b755da7b498094bdf15b4ce9f6fd16995e4e. It wasn't supposed to be applied, thanks to Doug for letting me know. Cc: Doug Anderson <dianders@chromium.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250.c14
-rw-r--r--drivers/tty/serial/8250.h2
2 files changed, 0 insertions, 16 deletions
diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c
index 2b0a4b63c5f7..eeadf1b8e093 100644
--- a/drivers/tty/serial/8250.c
+++ b/drivers/tty/serial/8250.c
@@ -308,8 +308,6 @@ static const struct serial8250_config uart_config[] = {
.fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
UART_FCR_T_TRIG_01,
.flags = UART_CAP_FIFO | UART_CAP_RTOIE,
- .mcr_mask = ~UART_MCR_DTR,
- .mcr_force = UART_MCR_DTR,
},
[PORT_XR17D15X] = {
.name = "XR17D15X",
@@ -1231,10 +1229,6 @@ static void autoconfig(struct uart_8250_port *up, unsigned int probeflags)
up->port.fifosize = uart_config[up->port.type].fifo_size;
up->capabilities = uart_config[up->port.type].flags;
up->tx_loadsz = uart_config[up->port.type].tx_loadsz;
- if (!ALPHA_KLUDGE_MCR) {
- up->mcr_mask = uart_config[up->port.type].mcr_mask;
- up->mcr_force = uart_config[up->port.type].mcr_force;
- }
if (up->port.type == PORT_UNKNOWN)
goto out;
@@ -1993,10 +1987,6 @@ static int serial8250_startup(struct uart_port *port)
up->port.fifosize = uart_config[up->port.type].fifo_size;
up->tx_loadsz = uart_config[up->port.type].tx_loadsz;
up->capabilities = uart_config[up->port.type].flags;
- if (!ALPHA_KLUDGE_MCR) {
- up->mcr_mask = uart_config[up->port.type].mcr_mask;
- up->mcr_force = uart_config[up->port.type].mcr_force;
- }
up->mcr = 0;
if (up->port.iotype != up->cur_iotype)
@@ -2803,10 +2793,6 @@ serial8250_init_fixed_type_port(struct uart_8250_port *up, unsigned int type)
up->port.fifosize = uart_config[type].fifo_size;
up->capabilities = uart_config[type].flags;
up->tx_loadsz = uart_config[type].tx_loadsz;
- if (!ALPHA_KLUDGE_MCR) {
- up->mcr_mask = uart_config[type].mcr_mask;
- up->mcr_force = uart_config[type].mcr_force;
- }
}
static void __init
diff --git a/drivers/tty/serial/8250.h b/drivers/tty/serial/8250.h
index 1f7510051707..6edf4a6a22d4 100644
--- a/drivers/tty/serial/8250.h
+++ b/drivers/tty/serial/8250.h
@@ -35,8 +35,6 @@ struct serial8250_config {
unsigned short tx_loadsz;
unsigned char fcr;
unsigned int flags;
- unsigned char mcr_mask;
- unsigned char mcr_force;
};
#define UART_CAP_FIFO (1 << 8) /* UART has FIFO */