android_kernel_xiaomi_sm8350/drivers/usb/core
Alan Stern d5cbad4b8b usbcore: khubd and busy-port handling
We don't want khubd to start interfering in the device-resume process
merely because the PORT_STATUS_C_SUSPEND feature happens to be set.
Ports need to be marked as busy while a resume is taking place.

In addition, so long as ports are marked as busy, khubd won't be able to
clear their various status-change features.  On an interrupt-driven root
hub this could lead to an interrupt storm.  Root hub IRQs should not be
re-enabled until the busy_bits value is equal to 0.

This patch (as765) fixes these two potential problems.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-09-27 11:58:54 -07:00
..
buffer.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
config.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
devices.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
devio.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
driver.c usbcore: suspending devices with no driver 2006-09-27 11:58:50 -07:00
endpoint.c
file.c USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00
generic.c usbcore: fix up device and power state tests 2006-09-27 11:58:50 -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: make hcd_endpoint_disable wait for queue to drain 2006-09-27 11:58:54 -07:00
hcd.h USB: Properly unregister reboot notifier in case of failure in ehci hcd 2006-09-27 11:58:54 -07:00
hub.c usbcore: khubd and busy-port handling 2006-09-27 11:58:54 -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 USB: usbcore get rid of the timer in usb_start_wait_urb() 2006-09-27 11:58:51 -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 Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
usb.c USB: New functions to check endpoints info. 2006-09-27 11:58:53 -07:00
usb.h USB: Make file operations structs in drivers/usb const. 2006-09-27 11:58:52 -07:00