diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2006-09-19 10:08:43 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-09-27 11:58:57 -0700 |
commit | 592fbbe4bc339399d363dd55f0391e0623400706 (patch) | |
tree | 4b21f83f393e7fefb5c73e0e460052b67058f178 /drivers/usb/core/endpoint.c | |
parent | 02c399ee45a54987c152fe5f627ed949bb55f187 (diff) | |
download | op-kernel-dev-592fbbe4bc339399d363dd55f0391e0623400706.zip op-kernel-dev-592fbbe4bc339399d363dd55f0391e0623400706.tar.gz |
USB: fix root-hub resume when CONFIG_USB_SUSPEND is not set
This patch (as786) removes a redundant test and fixes a problem
involving repeated system sleeps when CONFIG_USB_SUSPEND is not set.
During the first wakeup, the root hub's dev.power.power_state.event
field doesn't get updated, causing it not to be suspended during the
second sleep transition.
This takes care of the issue raised by Rafael J. Wysocki and Mattia
Dongili.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/endpoint.c')
0 files changed, 0 insertions, 0 deletions