1. 29 5月, 2009 1 次提交
    • W
      USB: isp1760: urb_dequeue doesn't always find the urbs · 0afb20e0
      Warren Free 提交于
      The option driver (and presumably others) allocates several URBs when it
      opens and tries to free them when it closes. The isp1760_urb_dequeue
      function gets called, but the packet being dequeued is not necessarily at
      the
      front of one of the 32 queues. If not, the isp1760_urb_done function doesn't
      get called for the URB and the process trying to free it hangs forever on a
      wait_queue. This patch does two things. If the URB being dequeued has others
      queued behind it, it re-queues them. And it searches the queues looking for
      the URB being dequeued rather than just looking at the one at the front of
      the queue.
      
      [bigeasy@linutronix] whitespace fixes, reformating
      
      Cc: stable <stable@kernel.org>
      Signed-off-by: NWarren Free <wfree@ipmn.com>
      Signed-off-by: NSebastian Andrzej Siewior <bigeasy@linutronix.de>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      0afb20e0
  2. 24 4月, 2009 1 次提交
    • D
      USB: ehci-sched.c: EHCI SITD scheduling bugfix · c065c60e
      Dan Streetman 提交于
      Without this patch, the driver won't check that the last fully-occupied
      uframe for a new split transaction was vacant beforehand.  This can
      lead to a situation in which the first 188 bytes of a 192-byte
      isochronous transfer are scheduled in the same uframe as an existing
      interrupt transfer.  The resulting schedule looks like this:
      
             uframe 0: 188-byte isoc-OUT SSPLIT, 8-byte int-IN SSPLIT
             uframe 1: 4-byte isoc-OUT SSPLIT
      
      The SSPLITs are intermingled, causing an error in the downstream hub's
      TT.
      
      If you are having problems with devices or hub ports resetting, or failed
      interrupt transfers, when you start using a USB audio or video (Isochronous)
      device, this patch may help.
      Signed-off-by: NDan Streetman <ddstreet@ieee.org>
      Reported-by: NKung James <kong1191@gmail.com>
      Acked-by: NDavid Brownell <dbrownell@users.sourceforge.net>
      Cc: Alan Stern <stern@rowland.harvard.edu>
      
      c065c60e
  3. 18 4月, 2009 2 次提交
  4. 09 4月, 2009 1 次提交
  5. 07 4月, 2009 3 次提交
  6. 25 3月, 2009 21 次提交
  7. 18 3月, 2009 2 次提交
  8. 16 3月, 2009 1 次提交
  9. 28 2月, 2009 1 次提交
  10. 22 2月, 2009 1 次提交
  11. 18 2月, 2009 1 次提交
  12. 16 2月, 2009 1 次提交
  13. 28 1月, 2009 4 次提交