]> err.no Git - linux-2.6/commit
[PATCH] UHCI: fix race in ISO dequeuing
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 19 May 2006 20:39:52 +0000 (16:39 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:12 +0000 (15:04 -0700)
commit10b8e47d6b32bfba22874354c62770cb4e42aa6c
tree5477d441bd4e01c4e3a4a9c2ef7b4e677b49d157
parentc433472658b4df11bd3590a59be79194a1ff43ae
[PATCH] UHCI: fix race in ISO dequeuing

This patch (as688) fixes a small race in uhci-hcd.  Because ISO queues
aren't controlled by queue headers, they can't be unlinked.  Only
individual URBs can.  So whenever multiple ISO URBs are dequeued, it's
necessary to make sure the hardware is done with each one.  We can't
assume that dequeuing the first URB will suffice to unlink the entire
queue.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c