From: Alan Stern Date: Tue, 21 Aug 2007 19:39:21 +0000 (-0400) Subject: USB: centralize -EREMOTEIO handling X-Git-Tag: v2.6.24-rc1~1395^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0d9efba3ec53468984aecef8eeaf079089f2e5a;p=pandora-kernel.git USB: centralize -EREMOTEIO handling This patch (as969) continues the ongoing changes to the way HCDs report URB statuses. The programming interface has been simplified by making usbcore responsible for clearing urb->hcpriv and for setting -EREMOTEIO status when an URB with the URB_SHORT_NOT_OK flag ends up as a short transfer. By moving the work out of the HCDs, this removes a fair amount of repeated code. Signed-off-by: Alan Stern CC: David Brownell CC: Olav Kongas CC: Yoshihiro Shimoda CC: Tony Olech Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed