diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-06-10 14:59:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-06-11 17:06:33 -0700 |
commit | 5340ba827b6269ccd2dcfd3d966626d9dd75d5d4 (patch) | |
tree | cb25dade31b785fb542678c82c94e0a247100d90 /drivers/base/class.c | |
parent | e6942d633be61f1638e08c56ab8244fc9f1c61e3 (diff) |
USB: don't use reset-resume if drivers don't support it
This patch tries to identify which devices are able to accept
reset-resume handling, by checking that there is at least one
interface driver bound and that all of the drivers have a reset_resume
method defined. If these conditions don't hold then during resume
processing, the device is logicall disconnected.
This is only a temporary fix. Later on we will explicitly unbind
drivers that can't handle reset-resumes.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: Oliver Neukum <oliver@neukum.org>
Cc: Pavel Machek <pavel@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/class.c')
0 files changed, 0 insertions, 0 deletions