android_kernel_xiaomi_sm8350/drivers/usb/host
Rafael J. Wysocki 3a2d5b7001 PM: Introduce PM_EVENT_HIBERNATE callback state
During the last step of hibernation in the "platform" mode (with the
help of ACPI) we use the suspend code, including the devices'
->suspend() methods, to prepare the system for entering the ACPI S4
system sleep state.

But at least for some devices the operations performed by the
->suspend() callback in that case must be different from its operations
during regular suspend.

For this reason, introduce the new PM event type PM_EVENT_HIBERNATE and
pass it to the device drivers' ->suspend() methods during the last phase
of hibernation, so that they can distinguish this case and handle it as
appropriate.  Modify the drivers that handle PM_EVENT_SUSPEND in a
special way and need to handle PM_EVENT_HIBERNATE in the same way.

These changes are necessary to fix a hibernation regression related
to the i915 driver (ref. http://lkml.org/lkml/2008/2/22/488).

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Tested-by: Jeff Chua <jeff.chua.linux@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-23 10:40:04 -08:00
..
ehci-au1xxx.c USB: force handover port to companion when hub_port_connect_change fails 2008-02-01 14:34:52 -08:00
ehci-dbg.c USB: EHCI: add separate IAA watchdog timer 2008-02-01 14:34:55 -08:00
ehci-fsl.c USB: Spelling fixes 2008-02-01 14:34:57 -08:00
ehci-fsl.h
ehci-hcd.c USB: POWERPC: ehci: fix ppc build 2008-02-21 15:38:56 -08:00
ehci-hub.c usb: ehci, remove false clear-reset path 2008-02-01 14:35:06 -08:00
ehci-ixp4xx.c USB: add ehci-ixp bus glue 2008-02-01 14:35:02 -08:00
ehci-mem.c
ehci-orion.c USB: add Marvell Orion USB host support 2008-02-01 14:34:58 -08:00
ehci-pci.c USB: EHCI: add separate IAA watchdog timer 2008-02-01 14:34:55 -08:00
ehci-ppc-of.c USB: add ehci-ppc-of bus glue (device-tree aware) 2008-02-01 14:35:01 -08:00
ehci-ppc-soc.c USB: force handover port to companion when hub_port_connect_change fails 2008-02-01 14:34:52 -08:00
ehci-ps3.c USB: force handover port to companion when hub_port_connect_change fails 2008-02-01 14:34:52 -08:00
ehci-q.c USB: ehci potential oops fix on ARC/TDI cores 2008-02-01 14:34:58 -08:00
ehci-sched.c USB: ehci completes high speed ISO URBs sooner 2008-02-01 14:35:02 -08:00
ehci.h usb: ehci should use u16 for isochronous intervals 2008-02-01 14:35:06 -08:00
isp116x-hcd.c USB: Drop unnecessary continue in a few drivers 2008-02-01 14:34:51 -08:00
isp116x.h
Kconfig ehci-fsl: add PPC_MPC837x to default y 2008-02-21 15:38:56 -08:00
Makefile
ohci-at91.c USB: ohci-at91 uses generic GPIO calls 2008-02-01 14:35:01 -08:00
ohci-au1xxx.c
ohci-dbg.c USB: convert ohci debug files to use debugfs instead of sysfs 2008-02-01 14:34:52 -08:00
ohci-ep93xx.c
ohci-hcd.c usb: ohci-sm501 driver 2008-02-01 14:35:05 -08:00
ohci-hub.c
ohci-lh7a404.c
ohci-mem.c
ohci-omap.c i2c/tps65010: move header to <linux/i2c/...> 2008-01-27 18:14:49 +01:00
ohci-pci.c
ohci-pnx4008.c i2c: Kill rogue driver IDs 2008-01-27 18:14:47 +01:00
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 USB: add support for SuperH OHCI 2008-02-01 14:35:03 -08:00
ohci-sm501.c usb: ohci-sm501 driver 2008-02-01 14:35:05 -08:00
ohci-ssb.c
ohci.h USB: convert ohci debug files to use debugfs instead of sysfs 2008-02-01 14:34:52 -08:00
pci-quirks.c PCI: use dev_printk in quirk messages 2008-02-01 15:04:26 -08:00
pci-quirks.h
r8a66597-hcd.c
r8a66597.h USB: Spelling fixes 2008-02-01 14:34:57 -08:00
sl811_cs.c
sl811-hcd.c PM: Introduce PM_EVENT_HIBERNATE callback state 2008-02-23 10:40:04 -08:00
sl811.h
u132-hcd.c PM: Introduce PM_EVENT_HIBERNATE callback state 2008-02-23 10:40:04 -08:00
uhci-debug.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-q.c