diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-08-11 10:15:39 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 16:28:21 -0700 |
commit | 3ea15966ed59f2bc20928c7b0496b4585f6de206 (patch) | |
tree | 45c392aa393fe4ad245b6593b5a74f212f010637 /include/asm-x86_64/uaccess.h | |
parent | e52b1d3afe698cb77c080ecbe9e745257ff8c81b (diff) |
[PATCH] USB: Add timeout to usb_lock_device_for_reset
This patch (as555) modifies the already-awkward
usb_lock_device_for_reset routine in usbcore by adding a timeout. The
whole point of the routine is that the caller wants to acquire some
semaphores in the wrong order; protecting against the possibility of
deadlock by timing out seems only prudent.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include/asm-x86_64/uaccess.h')
0 files changed, 0 insertions, 0 deletions