diff options
author | Alan Stern <[email protected]> | 2010-06-04 14:02:42 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2010-06-04 13:16:20 -0700 |
commit | c043f1245654a726925529007210e9f786426448 (patch) | |
tree | 67c3707d03183b51a111e90a6652ff472ce653aa /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 109f34e71b9049a57f6cdf3f1da6bee2b722b259 (diff) |
USB: unbind all interfaces before rebinding them
This patch (as1387) fixes a bug introduced during the changeover to
the runtime PM framework. When a driver doesn't support resume or
reset-resume, and consequently its interfaces need to be unbound and
rebound, we have to unbind all the interfaces before trying to rebind
any of them. Otherwise the driver's probe method for one interface
could try to claim a different interface and fail, because that other
interface hasn't been unbound yet.
This fixes Bugzilla #15788. The symptom is that some USB sound cards
don't work after hibernation.
Signed-off-by: Alan Stern <[email protected]>
Tested-by: François Valenduc <[email protected]>
Cc: stable <[email protected]> [.34]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions