diff options
Diffstat (limited to 'drivers/usb/serial/digi_acceleport.c')
-rw-r--r-- | drivers/usb/serial/digi_acceleport.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/serial/digi_acceleport.c b/drivers/usb/serial/digi_acceleport.c index ab3dd991586b..68e80be6b9e1 100644 --- a/drivers/usb/serial/digi_acceleport.c +++ b/drivers/usb/serial/digi_acceleport.c | |||
@@ -898,16 +898,16 @@ static void digi_rx_unthrottle(struct tty_struct *tty) | |||
898 | 898 | ||
899 | spin_lock_irqsave(&priv->dp_port_lock, flags); | 899 | spin_lock_irqsave(&priv->dp_port_lock, flags); |
900 | 900 | ||
901 | /* turn throttle off */ | ||
902 | priv->dp_throttled = 0; | ||
903 | priv->dp_throttle_restart = 0; | ||
904 | |||
905 | /* restart read chain */ | 901 | /* restart read chain */ |
906 | if (priv->dp_throttle_restart) { | 902 | if (priv->dp_throttle_restart) { |
907 | port->read_urb->dev = port->serial->dev; | 903 | port->read_urb->dev = port->serial->dev; |
908 | ret = usb_submit_urb(port->read_urb, GFP_ATOMIC); | 904 | ret = usb_submit_urb(port->read_urb, GFP_ATOMIC); |
909 | } | 905 | } |
910 | 906 | ||
907 | /* turn throttle off */ | ||
908 | priv->dp_throttled = 0; | ||
909 | priv->dp_throttle_restart = 0; | ||
910 | |||
911 | spin_unlock_irqrestore(&priv->dp_port_lock, flags); | 911 | spin_unlock_irqrestore(&priv->dp_port_lock, flags); |
912 | 912 | ||
913 | if (ret) | 913 | if (ret) |