commit | af4f76066d0fcb215ae389b8839d7ae37ce0e28b | [log] [tgz] |
---|---|---|
author | Alan Stern <stern@rowland.harvard.edu> | Mon Oct 30 17:06:45 2006 -0500 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Fri Dec 01 14:23:29 2006 -0800 |
tree | 3d3ea0546de3dec1a340752d35831c1cbbd178fa | |
parent | 0c1ac4f25f894f9df0ffe9b912c165fb6a185a3c [diff] |
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 <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>