projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9388e2e
)
USB: digi_acceleport: Fix broken unthrottle.
author
Johan Hovold
<jhovold@gmail.com>
Tue, 29 Sep 2009 10:39:23 +0000
(12:39 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 9 Oct 2009 20:52:05 +0000
(13:52 -0700)
This patch fixes a regression introduced in
39892da44b21b5362eb848ca424d73a25ccc488f
.
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Acked-by: Oliver Neukum <oliver@neukum.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/digi_acceleport.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/serial/digi_acceleport.c
b/drivers/usb/serial/digi_acceleport.c
index ab3dd991586b86a961e63c26594e7f3403f3b9aa..68e80be6b9e1888dbc82b7c8cc6584a9f7abddb7 100644
(file)
--- 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)
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)