summaryrefslogtreecommitdiff
path: root/drivers/rapidio/rio-scan.c
diff options
context:
space:
mode:
authorFranck Bui-Huu <vagabon.xyz@gmail.com>2006-07-12 12:09:41 +0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-27 22:58:51 +0400
commitecdc0a590268f1926ed8534a040a390c77d20948 (patch)
tree2815f3ad943ed71e16ce02b8e87dccfd41609a00 /drivers/rapidio/rio-scan.c
parent014aa2a3c32ebe33f97e9d219d91d3c5c7231bf7 (diff)
downloadlinux-ecdc0a590268f1926ed8534a040a390c77d20948.tar.xz
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 <vagabon.xyz@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/rapidio/rio-scan.c')
0 files changed, 0 insertions, 0 deletions