aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/mos7840.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-04-20 11:28:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-23 17:15:29 -0400
commit2400a2bfbd0e912193fe3b077f492d4980141813 (patch)
treee2e1bcc34252c14662c80df15c44703ead9d589c /drivers/usb/serial/mos7840.c
parent212b8f0c3f5a2280bfa1d6ab13a6fe98552becaa (diff)
USB: removal of tty->low_latency hack dating back to the old serial code
This removes tty->low_latency from all USB serial drivers that push data into the tty layer at hard interrupt context. It's no longer needed and actually harmful. Signed-off-by: Oliver Neukum <oliver@neukum.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/mos7840.c')
-rw-r--r--drivers/usb/serial/mos7840.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb/serial/mos7840.c
index 499b7b82a0ec..84fb1dcd30dc 100644
--- a/drivers/usb/serial/mos7840.c
+++ b/drivers/usb/serial/mos7840.c
@@ -1007,12 +1007,6 @@ static int mos7840_open(struct tty_struct *tty,
1007 status = mos7840_set_reg_sync(port, mos7840_port->ControlRegOffset, 1007 status = mos7840_set_reg_sync(port, mos7840_port->ControlRegOffset,
1008 Data); 1008 Data);
1009 1009
1010 /* force low_latency on so that our tty_push actually forces *
1011 * the data through,otherwise it is scheduled, and with *
1012 * high data rates (like with OHCI) data can get lost. */
1013 if (tty)
1014 tty->low_latency = 1;
1015
1016 /* Check to see if we've set up our endpoint info yet * 1010 /* Check to see if we've set up our endpoint info yet *
1017 * (can't set it up in mos7840_startup as the structures * 1011 * (can't set it up in mos7840_startup as the structures *
1018 * were not set up at that time.) */ 1012 * were not set up at that time.) */