]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
USB: avoid the donelist after an error in ohci-hcd
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 22 Aug 2007 17:08:40 +0000 (13:08 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Oct 2007 21:55:19 +0000 (14:55 -0700)
commit6e8fe43b26085a64327d1cbb751ab895f3ad3f5d
treecfc80d392d933788b13ca1fdf45afc8cfb9682c3
parent1f5a3d0f34fd5719081c6b8f3dbbcbe328d4da31
USB: avoid the donelist after an error in ohci-hcd

This patch (as972) changes ohci-hcd so that after an error occurs, the
remaining TDs for the URB will be skipped over entirely instead of
going through the donelist.  This enables the driver to give back the
URB as soon as the error is detected, avoiding the need to store the
error status in urb->status.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-q.c