summaryrefslogtreecommitdiff
path: root/drivers/nubus
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-08-12 18:33:59 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2008-08-21 17:26:36 (GMT)
commit55151d7daba185f94e9dc561a5a2ba36b5f647dd (patch)
treea769ff8a82367c8767d03c733278a078536e0945 /drivers/nubus
parent65605ae8e587d714f73e674369bc4cd5a1e53a9b (diff)
downloadlinux-fsl-qoriq-55151d7daba185f94e9dc561a5a2ba36b5f647dd.tar.xz
USB: Defer Set-Interface for suspended devices
This patch (as1128) fixes one of the problems related to the new PM infrastructure. We are not allowed to register new child devices during the middle of a system sleep transition, but unbinding a USB driver causes the core to automatically install altsetting 0 and thereby create new endpoint pseudo-devices. The patch fixes this problem (and the related problem that installing altsetting 0 will fail if the device is suspended) by deferring the Set-Interface call until some later time when it is legal and can succeed. Possible later times are: when a new driver is being probed for the interface, and when the interface is being resumed. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/nubus')
0 files changed, 0 insertions, 0 deletions