]>
Commit | Line | Data |
---|---|---|
d53dcc05 GKH |
1 | From 5568181f188ae9485a0cdbea5ea48f63d186a298 Mon Sep 17 00:00:00 2001 |
2 | From: Stephen Warren <swarren@nvidia.com> | |
3 | Date: Fri, 17 Jun 2011 09:45:07 -0600 | |
4 | Subject: tty/serial: Fix XSCALE serial ports, e.g. ce4100 | |
5 | ||
6 | From: Stephen Warren <swarren@nvidia.com> | |
7 | ||
8 | commit 5568181f188ae9485a0cdbea5ea48f63d186a298 upstream. | |
9 | ||
10 | Commit 4539c24fe4f92c09ee668ef959d3e8180df619b9 "tty/serial: Add | |
11 | explicit PORT_TEGRA type" introduced separate flags describing the need | |
12 | for IER bits UUE and RTOIE. Both bits are required for the XSCALE port | |
13 | type. While that patch updated uart_config[] as required, the auto-probing | |
14 | code wasn't updated to set the RTOIE flag when an XSCALE port type was | |
15 | detected. This caused such ports to stop working. This patch rectifies | |
16 | that. | |
17 | ||
18 | Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> | |
19 | Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> | |
20 | Signed-off-by: Stephen Warren <swarren@nvidia.com> | |
21 | Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> | |
22 | ||
23 | --- | |
24 | drivers/tty/serial/8250.c | 2 +- | |
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
26 | ||
27 | --- a/drivers/tty/serial/8250.c | |
28 | +++ b/drivers/tty/serial/8250.c | |
29 | @@ -1107,7 +1107,7 @@ static void autoconfig_16550a(struct uar | |
30 | */ | |
31 | DEBUG_AUTOCONF("Xscale "); | |
32 | up->port.type = PORT_XSCALE; | |
33 | - up->capabilities |= UART_CAP_UUE; | |
34 | + up->capabilities |= UART_CAP_UUE | UART_CAP_RTOIE; | |
35 | return; | |
36 | } | |
37 | } else { |