]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Remove low_latency flag setting from nozomi and mxser drivers
authorChuck Ebbert <cebbert@redhat.com>
Tue, 18 Aug 2009 14:23:09 +0000 (10:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 9 Sep 2009 03:17:49 +0000 (20:17 -0700)
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
drivers/char/nozomi.c

index ebda9a8ee321e81a6e25c7753520beacda5615f4..3340c62d5327c5a149dd62da76c6c60a446833d4 100644 (file)
@@ -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;
 }
 
index 66a0f931c66ca91bf06b56e0b789edb8a0d68204..4dfb5a18d72f00062c495ecd11cdd19b7db419e0 100644 (file)
@@ -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);