aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2011-06-17 11:45:07 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-07-01 18:35:46 -0400
commit5568181f188ae9485a0cdbea5ea48f63d186a298 (patch)
treee44fdb7969cfb440a84132fc465920bcb94d58fa /drivers/tty
parent7c365bac4437887382d53be2f735b34634d68c3b (diff)
tty/serial: Fix XSCALE serial ports, e.g. ce4100
Commit 4539c24fe4f92c09ee668ef959d3e8180df619b9 "tty/serial: Add explicit PORT_TEGRA type" introduced separate flags describing the need for IER bits UUE and RTOIE. Both bits are required for the XSCALE port type. While that patch updated uart_config[] as required, the auto-probing code wasn't updated to set the RTOIE flag when an XSCALE port type was detected. This caused such ports to stop working. This patch rectifies that. Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Stephen Warren <swarren@nvidia.com> Cc: stable <stable@kernel.org> [3.0] Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/8250.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c
index f11df87fa24..f1422a64676 100644
--- a/drivers/tty/serial/8250.c
+++ b/drivers/tty/serial/8250.c
@@ -1107,7 +1107,7 @@ static void autoconfig_16550a(struct uart_8250_port *up)
1107 */ 1107 */
1108 DEBUG_AUTOCONF("Xscale "); 1108 DEBUG_AUTOCONF("Xscale ");
1109 up->port.type = PORT_XSCALE; 1109 up->port.type = PORT_XSCALE;
1110 up->capabilities |= UART_CAP_UUE; 1110 up->capabilities |= UART_CAP_UUE | UART_CAP_RTOIE;
1111 return; 1111 return;
1112 } 1112 }
1113 } else { 1113 } else {