aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/cypress_m8.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-04-20 17:28:53 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-23 14:15:29 -0700
commit2400a2bfbd0e912193fe3b077f492d4980141813 (patch)
treee2e1bcc34252c14662c80df15c44703ead9d589c /drivers/usb/serial/cypress_m8.c
parent212b8f0c3f5a2280bfa1d6ab13a6fe98552becaa (diff)
downloadkernel_samsung_smdk4412-2400a2bfbd0e912193fe3b077f492d4980141813.zip
kernel_samsung_smdk4412-2400a2bfbd0e912193fe3b077f492d4980141813.tar.gz
kernel_samsung_smdk4412-2400a2bfbd0e912193fe3b077f492d4980141813.tar.bz2
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/cypress_m8.c')
-rw-r--r--drivers/usb/serial/cypress_m8.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/serial/cypress_m8.c b/drivers/usb/serial/cypress_m8.c
index eae4740..e568710 100644
--- a/drivers/usb/serial/cypress_m8.c
+++ b/drivers/usb/serial/cypress_m8.c
@@ -656,10 +656,6 @@ static int cypress_open(struct tty_struct *tty,
priv->rx_flags = 0;
spin_unlock_irqrestore(&priv->lock, flags);
- /* setting to zero could cause data loss */
- if (tty)
- tty->low_latency = 1;
-
/* raise both lines and set termios */
spin_lock_irqsave(&priv->lock, flags);
priv->line_control = CONTROL_DTR | CONTROL_RTS;