* [PATCH] tty/serial: Fix XSCALE serial ports, e.g. ce4100
@ 2011-06-17 15:45 Stephen Warren
2011-06-28 17:22 ` Stephen Warren
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2011-06-17 15:45 UTC (permalink / raw)
To: gregkh, alan, bigeasy; +Cc: linux-serial, Stephen Warren
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>
---
drivers/tty/serial/8250.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c
index f11df87..f1422a6 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)
*/
DEBUG_AUTOCONF("Xscale ");
up->port.type = PORT_XSCALE;
- up->capabilities |= UART_CAP_UUE;
+ up->capabilities |= UART_CAP_UUE | UART_CAP_RTOIE;
return;
}
} else {
--
1.7.0.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* RE: [PATCH] tty/serial: Fix XSCALE serial ports, e.g. ce4100
2011-06-17 15:45 [PATCH] tty/serial: Fix XSCALE serial ports, e.g. ce4100 Stephen Warren
@ 2011-06-28 17:22 ` Stephen Warren
2011-06-28 17:44 ` Sebastian Andrzej Siewior
0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2011-06-28 17:22 UTC (permalink / raw)
To: gregkh@suse.de, alan@linux.intel.com, bigeasy@linutronix.de
Cc: linux-serial@vger.kernel.org
Stephen Warren wrote at Friday, June 17, 2011 9:45 AM:
> 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.
Alan, Greg,
Does this patch look OK? Seems like it should go into 3.0, but I don't see
it ack'd or committed anywhere yet.
Thanks.
> Reported-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Tested-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
> Signed-off-by: Stephen Warren <swarren@nvidia.com>
> ---
> drivers/tty/serial/8250.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/tty/serial/8250.c b/drivers/tty/serial/8250.c
> index f11df87..f1422a6 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)
> */
> DEBUG_AUTOCONF("Xscale ");
> up->port.type = PORT_XSCALE;
> - up->capabilities |= UART_CAP_UUE;
> + up->capabilities |= UART_CAP_UUE | UART_CAP_RTOIE;
> return;
> }
> } else {
> --
> 1.7.0.4
--
nvpublic
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] tty/serial: Fix XSCALE serial ports, e.g. ce4100
2011-06-28 17:22 ` Stephen Warren
@ 2011-06-28 17:44 ` Sebastian Andrzej Siewior
0 siblings, 0 replies; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2011-06-28 17:44 UTC (permalink / raw)
To: Stephen Warren
Cc: gregkh@suse.de, alan@linux.intel.com,
linux-serial@vger.kernel.org
Stephen Warren wrote:
> Alan, Greg,
>
> Does this patch look OK? Seems like it should go into 3.0, but I don't see
> it ack'd or committed anywhere yet.
I was going to send a ping about by the end of the week since Greg just
got back to his computer around yesterday.
>
> Thanks.
Sebastian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-28 17:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-17 15:45 [PATCH] tty/serial: Fix XSCALE serial ports, e.g. ce4100 Stephen Warren
2011-06-28 17:22 ` Stephen Warren
2011-06-28 17:44 ` Sebastian Andrzej Siewior
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).