]> git.baikalelectronics.ru Git - kernel.git/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)
commitace9f628291109e79c0bbb49a4d70a2a28c64562
tree6217a74b7bb3d475a88ab7437d7fcdaa64fab53c
parent7c3186e8674e4b51345565ce05c9c7d31105da7c
[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