From: Alan Stern Date: Mon, 30 Oct 2006 22:06:45 +0000 (-0500) Subject: USB: autosuspend code consolidation X-Git-Tag: v2.6.20-rc1~34^2~40^2~472^2~73 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af4f76066d0fcb215ae389b8839d7ae37ce0e28b;p=pandora-kernel.git USB: autosuspend code consolidation This patch (as813) gathers together common code for USB interface autosuspend/autoresume. It also adds some simple checking at the time an autosuspend request is made, to see whether the request will fail. This way we don't add a workqueue entry when it would end up doing nothing. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed