linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Glance <david@csse.uwa.edu.au>
To: linux-kernel@vger.kernel.org, Greg KH <greg@kroah.com>
Subject: Re: PATCH: usb-ohci: interrupt out with urb->interval  0
Date: Mon, 21 Apr 2003 16:07:48 +0800	[thread overview]
Message-ID: <3EA3A6D4.3050104@csse.uwa.edu.au> (raw)

corrected patch for 2.4.21-pre7

--- usb-ohci.c  2003-04-21 15:53:19.000000000 +0800
+++ usb-ohci.patch.c    2003-04-21 16:03:51.000000000 +0800
@@ -490,6 +490,13 @@
                                usb_pipeout (urb->pipe)
                                        ? PCI_DMA_TODEVICE
                                        : PCI_DMA_FROMDEVICE);
+
+                        if (urb->interval == 0) {
+                               urb_rm_priv (urb);
+                               urb->complete (urb);
+                               break;
+                        }
+
                        urb->complete (urb);
 
                        /* implicitly requeued */



             reply	other threads:[~2003-04-21  7:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-21  8:07 David Glance [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-04-16 15:45 PATCH: usb-ohci: interrupt out with urb->interval 0 Frode Isaksen
2003-04-18  7:39 ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3EA3A6D4.3050104@csse.uwa.edu.au \
    --to=david@csse.uwa.edu.au \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).