android_kernel_xiaomi_sm8350/drivers/usb/host
Alan Stern cfa59dab27 USB: Don't resume root hub if the controller is suspended
Root hubs can't be resumed if their parent controller device is still
suspended.  This patch (as925) adds a check for that condition in
hcd_bus_resume() and prevents it from being treated as a fatal
controller failure.

ehci-hcd is updated to add the corresponding test.  Unnecessary
debugging messages are removed from uhci-hcd and dummy-hcd.  The
error return code from dummy-hcd is changed to -ESHUTDOWN, the same as
the others.  ohci-hcd doesn't need any changes.

Suspend handling in the non-PCI host drivers is somewhat hit-and-miss.
This patch shouldn't have any effect on them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-12 16:34:39 -07:00
..
ehci-au1xxx.c
ehci-dbg.c USB: use function attribute __maybe_unused 2007-07-12 16:29:50 -07:00
ehci-fsl.c USB: ehci_fsl update for MPC831x support 2007-07-12 16:29:50 -07:00
ehci-fsl.h ehci-fsl: fix cache coherency problem on system with large memory 2007-05-23 20:14:15 -07:00
ehci-hcd.c USB: PS3: USB system-bus rework 2007-07-12 16:34:30 -07:00
ehci-hub.c USB: Don't resume root hub if the controller is suspended 2007-07-12 16:34:39 -07:00
ehci-mem.c USB: ehci refcounts work on ppc7448 2007-07-12 16:29:47 -07:00
ehci-pci.c USB: EHCI, OHCI: handover changes 2007-07-12 16:29:47 -07:00
ehci-ppc-soc.c USB: EHCI big endian data structures support (for 440EPx) 2007-07-12 16:29:50 -07:00
ehci-ps3.c USB: PS3: USB system-bus rework 2007-07-12 16:34:30 -07:00
ehci-q.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci-sched.c USB: EHCI support for big-endian descriptors 2007-07-12 16:29:45 -07:00
ehci.h USB: EHCI: Safe endianness for transfer buffers after reset in case of HUB with TT 2007-07-12 16:34:29 -07:00
isp116x-hcd.c
isp116x.h
Kconfig USB: ehci_fsl update for MPC831x support 2007-07-12 16:29:50 -07:00
Makefile USB: r8a66597-hcd: host controller driver for R8A66597 2007-07-12 16:29:45 -07:00
ohci-at91.c
ohci-au1xxx.c
ohci-dbg.c USB: use function attribute __maybe_unused 2007-07-12 16:29:50 -07:00
ohci-ep93xx.c
ohci-hcd.c USB: PS3: USB system-bus rework 2007-07-12 16:34:30 -07:00
ohci-hub.c USB: Fix NEC OHCI chip silicon bug 2007-07-12 16:34:29 -07:00
ohci-lh7a404.c
ohci-mem.c USB: Fix NEC OHCI chip silicon bug 2007-07-12 16:34:29 -07:00
ohci-omap.c
ohci-pci.c USB: Fix NEC OHCI chip silicon bug 2007-07-12 16:34:29 -07:00
ohci-pnx4008.c
ohci-pnx8550.c
ohci-ppc-of.c
ohci-ppc-soc.c
ohci-ps3.c USB: PS3: USB system-bus rework 2007-07-12 16:34:30 -07:00
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci.h USB: Fix NEC OHCI chip silicon bug 2007-07-12 16:34:29 -07:00
pci-quirks.c
pci-quirks.h
r8a66597-hcd.c USB: r8a66597-hcd: fix NULL access 2007-07-12 16:29:45 -07:00
r8a66597.h USB: r8a66597-hcd: host controller driver for R8A66597 2007-07-12 16:29:45 -07:00
sl811_cs.c
sl811-hcd.c
sl811.h
u132-hcd.c
uhci-debug.c
uhci-hcd.c USB: Don't resume root hub if the controller is suspended 2007-07-12 16:34:39 -07:00
uhci-hcd.h
uhci-hub.c
uhci-q.c