kernel-fxtec-pro1x/drivers/usb/host
Rafael J. Wysocki a15d95a003 USB: Fix suspend-resume of PCI USB controllers
Commit a0d4922da2
(USB: fix up suspend and resume for PCI host controllers) attempted
to fix the suspend-resume of PCI USB controllers, but unfortunately
it did that incorrectly and interrupts are left enabled by the USB
controllers' ->suspend_late() callback as a result.  This leads to
serious problems during suspend which are very difficult to debug.

Fix the issue by removing the ->suspend_late() callback of PCI
USB controllers and moving the code from there to the ->suspend()
callback executed with interrupts enabled.  Additionally, make
the ->resume() callback of PCI USB controllers execute
pci_enable_wake(dev, PCI_D0, false) to disable wake-up from the
full power state (PCI_D0).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Tested-by: Andrey Borzenkov <arvidjaar@mail.ru>
Tested-by: "Jeff Chua" <jeff.chua.linux@gmail.com>
Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: "Zdenek Kabelac" <zdenek.kabelac@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-01-27 16:15:32 -08:00
..
whci wusb: add debug files for ASL, PZL and DI to the whci-hcd driver 2008-11-26 13:36:59 +00:00
ehci-au1xxx.c USB: Au1xxx-usb: suspend/resume support. 2008-07-21 15:16:44 -07:00
ehci-dbg.c USB: clean up redundant tests on unsigned 2009-01-07 09:59:49 -08:00
ehci-fsl.c USB: EHCI: Reconciling USB register differences on MPC85xx vs MPC83xx 2008-07-21 15:16:45 -07:00
ehci-fsl.h
ehci-hcd.c USB: EHCI: fix handling of dead controllers 2008-11-13 14:45:05 -08:00
ehci-hub.c USB: powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3] 2009-01-07 09:59:52 -08:00
ehci-ixp4xx.c ALSA: Correct Vladimir Barinov's e-mail address 2008-10-10 13:41:45 +02:00
ehci-mem.c
ehci-orion.c [ARM] Orion: add the option to support different ehci phy initialization 2008-12-04 01:28:14 -05:00
ehci-pci.c USB: Fix suspend-resume of PCI USB controllers 2009-01-27 16:15:32 -08:00
ehci-ppc-of.c USB: powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3] 2009-01-07 09:59:52 -08:00
ehci-ps3.c USB: Fix PS3 USB shutdown problems 2008-11-13 14:45:02 -08:00
ehci-q.c list.h: Add list_splice_tail() and list_splice_tail_init() 2008-08-07 09:49:42 -04:00
ehci-sched.c USB: EHCI: fix divide-by-zero bug 2008-11-13 14:45:06 -08:00
ehci.h USB: powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3] 2009-01-07 09:59:52 -08:00
hwa-hc.c uwb: use dev_dbg() for debug messages 2008-12-22 18:22:50 +00:00
isp116x-hcd.c USB: Let some USB host controllers get IRQ flags from resource 2008-10-17 14:40:52 -07:00
isp116x.h Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
isp1760-hcd.c USB: isp1760: don't auto disable Port1 on ISP1761 2009-01-07 10:00:09 -08:00
isp1760-hcd.h USB: isp1760: don't auto disable Port1 on ISP1761 2009-01-07 10:00:09 -08:00
isp1760-if.c USB: isp1760: don't auto disable Port1 on ISP1761 2009-01-07 10:00:09 -08:00
Kconfig usb host: Oxford OXU210HP HCD driver. 2009-01-07 09:59:50 -08:00
Makefile usb host: Oxford OXU210HP HCD driver. 2009-01-07 09:59:50 -08:00
ohci-at91.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-au1xxx.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-dbg.c USB: EHCI, OHCI, UHCI: remove version numbers 2008-10-17 14:41:02 -07:00
ohci-ep93xx.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-hcd.c USB: don't enable wakeup by default for PCI host controllers 2009-01-27 16:15:32 -08:00
ohci-hub.c USB: OHCI: fix endless polling behavior 2008-10-17 14:41:04 -07:00
ohci-lh7a404.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-mem.c
ohci-omap.c [ARM] omap: ensure OMAP drivers pass a struct device to clk_get() 2009-01-24 11:41:16 +00:00
ohci-pci.c USB: Fix suspend-resume of PCI USB controllers 2009-01-27 16:15:32 -08:00
ohci-pnx4008.c USB: Convert ohci-pnx4008 to a new-style i2c driver 2009-01-07 09:59:53 -08:00
ohci-pnx8550.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ppc-of.c USB: powerpc: Workaround for the PPC440EPX USBH_23 errata [take 3] 2009-01-07 09:59:52 -08:00
ohci-ppc-soc.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ps3.c USB: Fix PS3 USB shutdown problems 2008-11-13 14:45:02 -08:00
ohci-pxa27x.c [ARM] pxa: don't pass a consumer clock name for devices with unique clocks 2008-11-27 12:38:23 +00:00
ohci-q.c USB: quirk PLL power down mode 2008-08-13 17:32:58 -07:00
ohci-s3c2410.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-sa1111.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-sh.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-sm501.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-ssb.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
ohci-tmio.c usb: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-07 09:59:52 -08:00
ohci.h usb: remove code associated with !CONFIG_PPC_MERGE 2008-10-17 14:40:57 -07:00
oxu210hp-hcd.c oxu210hp-hcd.c: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-07 09:59:52 -08:00
oxu210hp.h usb host: Oxford OXU210HP HCD driver. 2009-01-07 09:59:50 -08:00
pci-quirks.c USB: EHCI pci-quirks.c: don't wait so long for BIOS handoff 2009-01-07 09:59:50 -08:00
pci-quirks.h
r8a66597-hcd.c USB: m66592 and r8a66597 resource changes 2009-01-07 09:59:53 -08:00
r8a66597.h sh: sh_mobile usb clock framework support 2008-12-22 18:42:51 +09:00
sl811-hcd.c USB: Let some USB host controllers get IRQ flags from resource 2008-10-17 14:40:52 -07:00
sl811.h Rename WARN() to WARNING() to clear the namespace 2008-07-25 10:53:29 -07:00
sl811_cs.c pcmcia: encapsulate ioaddr_t 2008-08-29 09:43:14 +02:00
u132-hcd.c USB: automatically enable RHSC interrupts 2008-08-21 10:26:38 -07:00
uhci-debug.c
uhci-hcd.c USB: Fix suspend-resume of PCI USB controllers 2009-01-27 16:15:32 -08:00
uhci-hcd.h
uhci-hub.c USB: uhci: mark root_hub_hub_des[] as const 2008-07-21 15:16:30 -07:00
uhci-q.c USB: UHCI: improve scheduling of interrupt URBs 2008-10-17 14:41:01 -07:00