]> err.no Git - linux-2.6/commit
[PATCH] usb-storage: get rid of the timer during URB submission
authorFranck Bui-Huu <fbh.work@gmail.com>
Wed, 24 May 2006 14:57:28 +0000 (16:57 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:13 +0000 (15:04 -0700)
commit3428cc43d23f125dcb31c981aa91535dd3c4cb0d
tree6217a74b7bb3d475a88ab7437d7fcdaa64fab53c
parent80b47853b19114dd53e83e15bf1db3e183a66824
[PATCH] usb-storage: get rid of the timer during URB submission

This patch uses completion timeout instead of a timer to implement
a timeout when submitting an URB.

It also put the task in interruptible state instead of an
uninterruptible one while waiting for the completion.

Signed-off-by: Franck Bui-Huu <vagabon.xyz@gmail.com>
Signed-off-by: Matthew Dharm <mdharm-usb@one-eyed-alien.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/transport.c