android_kernel_xiaomi_sm8350/drivers/usb/core
Alan Stern 592fbbe4bc 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>
2006-09-27 11:58:57 -07:00
..
buffer.c usbcore: trim down usb_bus structure 2006-09-27 11:58:56 -07:00
config.c usb: deal with broken config descriptors 2006-09-27 11:58:55 -07:00
devices.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
devio.c usbcore: non-hub-specific uses of autosuspend 2006-09-27 11:58:57 -07:00
driver.c USB: fix root-hub resume when CONFIG_USB_SUSPEND is not set 2006-09-27 11:58:57 -07:00
endpoint.c [PATCH] USB: make endpoints real struct devices 2006-06-21 15:04:19 -07:00
file.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
generic.c usbcore: non-hub-specific uses of autosuspend 2006-09-27 11:58:57 -07:00
hcd-pci.c USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
hcd.c usbcore: remove usb_suspend_root_hub 2006-09-27 11:58:57 -07:00
hcd.h usbcore: remove usb_suspend_root_hub 2006-09-27 11:58:57 -07:00
hub.c usbcore: remove usb_suspend_root_hub 2006-09-27 11:58:57 -07:00
hub.h usbcore: khubd and busy-port handling 2006-09-27 11:58:54 -07:00
inode.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
Kconfig [PATCH] USB: remove devfs information from Kconfig 2006-07-12 16:03:23 -07:00
Makefile usbcore: move code among source files 2006-09-27 11:58:50 -07:00
message.c usbcore: non-hub-specific uses of autosuspend 2006-09-27 11:58:57 -07:00
notify.c usbfs: private mutex for open, release, and remove 2006-09-27 11:58:49 -07:00
otg_whitelist.h
sysfs.c usbcore: add configuration_string to attribute group 2006-09-27 11:58:49 -07:00
urb.c USB: remove struct usb_operations 2006-09-27 11:58:56 -07:00
usb.c usbcore: add autosuspend/autoresume infrastructure 2006-09-27 11:58:57 -07:00
usb.h usbcore: remove usb_suspend_root_hub 2006-09-27 11:58:57 -07:00