]> git.baikalelectronics.ru Git - kernel.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)
commit21a59357a0ac3a9951d11bd02770b759a71b891e
treecfc80d392d933788b13ca1fdf45afc8cfb9682c3
parent79ed5a5410e20e983fe3761c048c885db6c903c7
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