[PATCH v2 0/2] usb/isp1760: Fix possible bugs with urb unlinking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



These patches fixes one known and a couple of suspected bugs:

1) urb_dequeue() always aborted the active transfer on the urb's
   endpoint, even if the transfer in question belonged to a different
   urb. (known bug)

2) Since there is no known way to actually terminate a started 
   transfer with the isp1760, we reinstate the use of the skip maps
   and use them as a filter for interrupts and done maps.

3) endpoint_disable() released the spinlock for short time periods
   while calling urb_dequeue(), and this might trigger very rare bugs.


Changes in v2:

* Clarified reason for patch #1


Arvid Brodin (2):
  usb/isp1760: Move function isp1760_endpoint_disable() within file.
  usb/isp1760: Fix possible unlink problems

 drivers/usb/host/isp1760-hcd.c |  185 ++++++++++++++++++++++++---------------
 1 files changed, 114 insertions(+), 71 deletions(-)

-- 
Arvid Brodin
Enea Services Stockholm AB


--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux