mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
USB: digi_acceleport: Fix broken unthrottle.
This patch fixes a regression introduced in
39892da44b.
Signed-off-by: Johan Hovold <[email protected]>
Acked-by: Oliver Neukum <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
This commit is contained in:
parent
9388e2e71a
commit
ba6b702f85
1 changed files with 4 additions and 4 deletions
|
|
@ -898,16 +898,16 @@ static void digi_rx_unthrottle(struct tty_struct *tty)
|
|||
|
||||
spin_lock_irqsave(&priv->dp_port_lock, flags);
|
||||
|
||||
/* turn throttle off */
|
||||
priv->dp_throttled = 0;
|
||||
priv->dp_throttle_restart = 0;
|
||||
|
||||
/* restart read chain */
|
||||
if (priv->dp_throttle_restart) {
|
||||
port->read_urb->dev = port->serial->dev;
|
||||
ret = usb_submit_urb(port->read_urb, GFP_ATOMIC);
|
||||
}
|
||||
|
||||
/* turn throttle off */
|
||||
priv->dp_throttled = 0;
|
||||
priv->dp_throttle_restart = 0;
|
||||
|
||||
spin_unlock_irqrestore(&priv->dp_port_lock, flags);
|
||||
|
||||
if (ret)
|
||||
|
|
|
|||
Loading…
Reference in a new issue