android_kernel_xiaomi_sm8350/drivers/usb/host
Alan Stern d8f12ab5d9 USB: UHCI: disable remote wakeup when it's not needed
This patch (as1084b) fixes the way uhci-hcd handles polling and
remote wakeups for its root hubs.  When remote wakeup is disabled,
neither interrupts nor polling should be enabled during a root-hub
suspend.  Likewise, if interrupts are enabled during suspend then
polling isn't needed.

Furthermore the EGSM (Enter Global Suspend Mode) bit shouldn't be set
in the Command register unless remote wakeup is enabled.  Apparently
some controllers will issue a remote-wakeup interrupt whenever EGSM
is on, even if Resume-Detect interrupts are supposedly disabled.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-05-02 10:25:57 -07:00
..
ehci-au1xxx.c
ehci-dbg.c
ehci-fsl.c
ehci-fsl.h
ehci-hcd.c
ehci-hub.c usb: use get/put_unaligned_* helpers 2008-04-29 08:06:28 -07:00
ehci-ixp4xx.c
ehci-mem.c
ehci-orion.c
ehci-pci.c
ehci-ppc-of.c
ehci-ppc-soc.c
ehci-ps3.c
ehci-q.c
ehci-sched.c
ehci.h
isp116x-hcd.c
isp116x.h
isp1760-hcd.c USB: ISP1760 HCD driver 2008-05-02 10:25:50 -07:00
isp1760-hcd.h USB: ISP1760 HCD driver 2008-05-02 10:25:50 -07:00
isp1760-if.c USB: ISP1760 HCD driver 2008-05-02 10:25:50 -07:00
Kconfig USB: add Cypress c67x00 OTG controller HCD driver 2008-05-02 10:25:57 -07:00
Makefile USB: ISP1760 HCD driver 2008-05-02 10:25:50 -07:00
ohci-at91.c
ohci-au1xxx.c
ohci-dbg.c
ohci-ep93xx.c
ohci-hcd.c
ohci-hub.c USB: OHCI: work around bogus compiler warning 2008-05-02 10:25:57 -07:00
ohci-lh7a404.c
ohci-mem.c
ohci-omap.c
ohci-pci.c
ohci-pnx4008.c
ohci-pnx8550.c
ohci-ppc-of.c
ohci-ppc-soc.c
ohci-ps3.c
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci-sh.c
ohci-sm501.c
ohci-ssb.c
ohci.h
pci-quirks.c
pci-quirks.h
r8a66597-hcd.c
r8a66597.h
sl811_cs.c
sl811-hcd.c
sl811.h
u132-hcd.c
uhci-debug.c
uhci-hcd.c USB: UHCI: disable remote wakeup when it's not needed 2008-05-02 10:25:57 -07:00
uhci-hcd.h USB: UHCI: disable remote wakeup when it's not needed 2008-05-02 10:25:57 -07:00
uhci-hub.c
uhci-q.c