~ubuntu-branches/ubuntu/karmic/linux-mvl-dove/karmic-proposed

« back to all changes in this revision

Viewing changes to drivers/usb/serial/digi_acceleport.c

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Bader
  • Date: 2010-03-10 22:24:12 UTC
  • mto: (15.1.2 karmic-security)
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20100310222412-k86m3r53jw0je7x1
Tags: upstream-2.6.31
ImportĀ upstreamĀ versionĀ 2.6.31

Show diffs side-by-side

added added

removed removed

Lines of Context:
899
899
 
900
900
        spin_lock_irqsave(&priv->dp_port_lock, flags);
901
901
 
 
902
        /* turn throttle off */
 
903
        priv->dp_throttled = 0;
 
904
        priv->dp_throttle_restart = 0;
 
905
 
902
906
        /* restart read chain */
903
907
        if (priv->dp_throttle_restart) {
904
908
                port->read_urb->dev = port->serial->dev;
905
909
                ret = usb_submit_urb(port->read_urb, GFP_ATOMIC);
906
910
        }
907
911
 
908
 
        /* turn throttle off */
909
 
        priv->dp_throttled = 0;
910
 
        priv->dp_throttle_restart = 0;
911
 
 
912
912
        spin_unlock_irqrestore(&priv->dp_port_lock, flags);
913
913
 
914
914
        if (ret)