From: Franck Bui-Huu Date: Wed, 12 Jul 2006 08:09:41 +0000 (+0200) Subject: USB: usbcore get rid of the timer in usb_start_wait_urb() X-Git-Tag: v2.6.19-rc1~899^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ecdc0a590268f1926ed8534a040a390c77d20948;p=pandora-kernel.git USB: usbcore get rid of the timer in usb_start_wait_urb() This patch uses completion timeout instead of a timer to implement a timeout when submitting an URB in usb_start_wait_urb(). It also fixes a small issue. With the previous code, if no timeout happened and the URB's status was set to ECONNRESET value, the code assumed wrongly that a timeout had occured. Signed-off-by: Franck Bui-Huu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed