From 206c31f296348cbd3c9a7700a6f9b946459914be Mon Sep 17 00:00:00 2001 From: Chuck Ebbert Date: Tue, 18 Aug 2009 10:23:09 -0400 Subject: [PATCH] Remove low_latency flag setting from nozomi and mxser drivers 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 Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds Signed-off-by: Greg Kroah-Hartman --- drivers/char/mxser.c | 2 -- drivers/char/nozomi.c | 1 - 2 files changed, 3 deletions(-) diff --git a/drivers/char/mxser.c b/drivers/char/mxser.c index ebda9a8ee32..3340c62d532 100644 --- a/drivers/char/mxser.c +++ b/drivers/char/mxser.c @@ -1099,8 +1099,6 @@ static int mxser_open(struct tty_struct *tty, struct file *filp) if (retval) return retval; - /* unmark here for very high baud rate (ex. 921600 bps) used */ - tty->low_latency = 1; return 0; } diff --git a/drivers/char/nozomi.c b/drivers/char/nozomi.c index 66a0f931c66..4dfb5a18d72 100644 --- a/drivers/char/nozomi.c +++ b/drivers/char/nozomi.c @@ -1584,7 +1584,6 @@ static int ntty_open(struct tty_struct *tty, struct file *file) /* 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); -- 2.11.4.GIT