From: Alan Stern Date: Thu, 11 Aug 2005 14:15:39 +0000 (-0400) Subject: [PATCH] USB: Add timeout to usb_lock_device_for_reset X-Git-Tag: v2.6.14-rc1~492^2~18^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ea15966ed59f2bc20928c7b0496b4585f6de206;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed