Messages in this thread Patch in this message | | | Date | Fri, 04 Sep 2009 13:07:58 -0700 | From | Greg KH <> | Subject | [patch 46/48] Remove low_latency flag setting from nozomi and mxser drivers |
| |
2.6.27-stable review patch. If anyone has any objections, please let us know.
------------------ From: Chuck Ebbert <cebbert@redhat.com>
commit 4d8d4d251df8eaaa3dae71c8cfa7fbf4510d967d upstream
[ cebbert@redhat.com: backport to 2.6.27 ]
Remove low_latency flag setting from nozomi and mxser drivers
The kernel oopses if this flag is set.
[and neither driver should set it as they call tty_flip_buffer_push from IRQ paths so have always been buggy]
Signed-off-by: Chuck Ebbert <cebbert@redhat.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> ---
--- drivers/char/mxser.c | 2 -- drivers/char/nozomi.c | 1 - 2 files changed, 3 deletions(-)
--- a/drivers/char/mxser.c +++ b/drivers/char/mxser.c @@ -1099,8 +1099,6 @@ static int mxser_open(struct tty_struct if (retval) return retval; - /* unmark here for very high baud rate (ex. 921600 bps) used */ - tty->low_latency = 1; return 0; } --- a/drivers/char/nozomi.c +++ b/drivers/char/nozomi.c @@ -1584,7 +1584,6 @@ static int ntty_open(struct tty_struct * /* Enable interrupt downlink for channel */ if (port->tty_open_count == 1) { - tty->low_latency = 1; tty->driver_data = port; port->tty = tty; DBG1("open: %d", port->token_dl);
| |