From: Alan Stern Date: Tue, 19 Sep 2006 14:14:07 +0000 (-0400) Subject: USB: create new workqueue thread for USB autosuspend X-Git-Tag: v2.6.19-rc1~868 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd859281c09b4318153dc7222b5e9052aad83b61;p=pandora-kernel.git USB: create new workqueue thread for USB autosuspend This patch (as787) creates a new workqueue thread to handle delayed USB autosuspend requests. Previously the code used keventd. However it turns out that the hub driver's suspend routine calls flush_scheduled_work(), making it a poor candidate for running in keventd (the call immediately deadlocks). The solution is to use a new thread instead of keventd. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed