hvc_console: Do not set low_latency when using interrupts
[pandora-kernel.git] / drivers / char / hvc_console.c
index f2685b7..0e18fdb 100644 (file)
@@ -318,7 +318,8 @@ static int hvc_open(struct tty_struct *tty, struct file * filp)
        } /* else count == 0 */
 
        tty->driver_data = hp;
-       tty->low_latency = 1; /* Makes flushes to ldisc synchronous. */
+       if (!hp->irq_requested)
+               tty->low_latency = 1; /* Makes flushes to ldisc synchronous. */
 
        hp->tty = tty;