lkml.org 
[lkml]   [2009]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[3/3] USB: digi_acceleport: Fix broken unthrottle.
    2.6.27-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Johan Hovold <jhovold@gmail.com>

    commit ba6b702f85a61561d329c4c11d3ed95604924f9a upstream.

    This patch fixes a regression introduced in
    39892da44b21b5362eb848ca424d73a25ccc488f.

    Signed-off-by: Johan Hovold <jhovold@gmail.com>
    Acked-by: Oliver Neukum <oliver@neukum.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    drivers/usb/serial/digi_acceleport.c | 8 ++++----
    1 file changed, 4 insertions(+), 4 deletions(-)

    --- a/drivers/usb/serial/digi_acceleport.c
    +++ b/drivers/usb/serial/digi_acceleport.c
    @@ -892,16 +892,16 @@ static void digi_rx_unthrottle(struct tt

    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)



    \
     
     \ /
      Last update: 2009-10-15 23:25    [W:0.021 / U:96.620 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site