android_kernel_xiaomi_sm8350/drivers/usb/host
Alan Stern 629e4427aa EHCI: fix interrupt-driven remote wakeup
Now that port status change notifications are interrupt-driven,
ehci-hcd needs to tell usbcore when a remote-wakeup resume operation
is finished -- we can no longer rely on the core to poll and find
out.  This patch (as843) uses the root-hub status timer to force a
poll after the resume is complete.

The patch also changes the test for detecting when the TDRSMDN resume
period has expired.  It's necessary to use time_after_eq() instead of
time_after(), since the polling is triggered precisely by a timer.
The same change is made for TDRSTR reset expiration, for consistency.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-02-07 15:44:39 -08:00
..
ehci-au1xxx.c
ehci-dbg.c USB: Implement support for EHCI with big endian MMIO 2007-02-07 15:44:32 -08:00
ehci-fsl.c USB: Implement support for EHCI with big endian MMIO 2007-02-07 15:44:32 -08:00
ehci-fsl.h
ehci-hcd.c USB: switch ehci-hcd to new polling scheme 2007-02-07 15:44:39 -08:00
ehci-hub.c EHCI: fix interrupt-driven remote wakeup 2007-02-07 15:44:39 -08:00
ehci-mem.c
ehci-pci.c USB: Implement support for EHCI with big endian MMIO 2007-02-07 15:44:32 -08:00
ehci-ps3.c USB: ps3 ehci bus glue 2007-02-07 15:44:35 -08:00
ehci-q.c USB: Implement support for EHCI with big endian MMIO 2007-02-07 15:44:32 -08:00
ehci-sched.c USB: Implement support for EHCI with big endian MMIO 2007-02-07 15:44:32 -08:00
ehci.h EHCI: force high-speed devices to run at full speed 2007-02-07 15:44:37 -08:00
hc_crisv10.c
hc_crisv10.h
isp116x-hcd.c
isp116x.h
Kconfig ohci: Add support for OHCI controller on the of_platform bus 2007-02-07 15:44:33 -08:00
Makefile
ohci-at91.c USB: ohci-at91 refcount fix for irq wake enables 2007-02-07 15:44:35 -08:00
ohci-au1xxx.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-dbg.c USB: ohci whitespace/comment fixups 2006-12-20 10:14:26 -08:00
ohci-ep93xx.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-hcd.c USB: ps3 ohci bus glue 2007-02-07 15:44:37 -08:00
ohci-hub.c USB: ohci handles hardware faults during root port resets 2006-12-20 10:14:27 -08:00
ohci-lh7a404.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-mem.c USB: ohci whitespace/comment fixups 2006-12-20 10:14:26 -08:00
ohci-omap.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-pci.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-pnx4008.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-pnx8550.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-ppc-of.c ohci: Add support for OHCI controller on the of_platform bus 2007-02-07 15:44:33 -08:00
ohci-ppc-soc.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-ps3.c USB: ps3 ohci bus glue 2007-02-07 15:44:37 -08:00
ohci-pxa27x.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-q.c USB: ohci whitespace/comment fixups 2006-12-20 10:14:26 -08:00
ohci-s3c2410.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci-sa1111.c ohci: Rework bus glue integration to allow several at once 2007-02-07 15:44:33 -08:00
ohci.h USB: Fix OHCI warning 2007-02-07 15:44:32 -08:00
pci-quirks.c
pci-quirks.h
sl811_cs.c
sl811-hcd.c
sl811.h
u132-hcd.c USB: u132-hcd/ftdi-elan: add support for Option GT 3G Quad card 2006-12-20 10:14:27 -08:00
uhci-debug.c UHCI: fix bandwidth allocation 2007-02-07 15:44:37 -08:00
uhci-hcd.c UHCI: improved debugging checks for the frame list 2007-02-07 15:44:35 -08:00
uhci-hcd.h UHCI: fix bandwidth allocation 2007-02-07 15:44:37 -08:00
uhci-hub.c UHCI: module parameter to ignore overcurrent changes 2006-12-20 10:14:26 -08:00
uhci-q.c UHCI: fix bandwidth allocation 2007-02-07 15:44:37 -08:00