OHCI: make autostop conditional on CONFIG_PM
Alan Stern authored

Unlike UHCI, OHCI does not exert any DMA load on the system when no
devices are connected.  Consequently there is no advantage to doing
an autostop other than the power savings, so we shouldn't compile the
necessary code unless CONFIG_PM is enabled.

This patch (as820) makes the root-hub suspend and resume routines
conditional on CONFIG_PM.  It also prevents autostop from activating
if the device_may_wakeup flag isn't set; some people use this flag to
alert the driver about Resume-Detect bugs in the hardware.
Signed-off-by: default avatarAlan Stern <stern@rowland.harvard.edu>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
1f9fc882
Name Last commit Last update
..
Kconfig USB: u132-hcd: host controller driver for ELAN U132 adapter
Makefile USB: u132-hcd: host controller driver for ELAN U132 adapter
ehci-au1xxx.c USB: Properly unregister reboot notifier in case of failure in ehci hcd
ehci-dbg.c USB: revert EHCI VIA workaround patch
ehci-fsl.c USB: Properly unregister reboot notifier in case of failure in ehci hcd
ehci-fsl.h [PATCH] USB: EHCI for Freescale 83xx
ehci-hcd.c EHCI: Fix root-hub and port suspend/resume problems
ehci-hub.c EHCI: Fix root-hub and port suspend/resume problems
ehci-mem.c USB: EHCI whitespace fixes (cosmetic)
ehci-pci.c EHCI: Fix root-hub and port suspend/resume problems
ehci-q.c USB: revert EHCI VIA workaround patch
ehci-sched.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
ehci.h EHCI: Fix root-hub and port suspend/resume problems
hc_crisv10.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
hc_crisv10.h Linux-2.6.12-rc2
isp116x-hcd.c IRQ: Maintain regs pointer globally rather than passing to IRQ handlers
isp116x.h USB: Dealias -110 code (more complete)
ohci-at91.c USB: ohci-at91, two one-liners
ohci-au1xxx.c USB: Properly unregister reboot notifier in case of failure in ehci hcd
ohci-dbg.c USB: fix __must_check warnings in drivers/usb/host/
ohci-ep93xx.c USB: Properly unregister reboot notifier in case of failure in ehci hcd
ohci-hcd.c USB: OHCI: disable RHSC inside interrupt handler
ohci-hub.c OHCI: make autostop conditional on CONFIG_PM
ohci-lh7a404.c USB: Properly unregister reboot notifier in case of failure in ehci hcd
ohci-mem.c USB: Properly unregister reboot notifier in case of failure in ehci hcd
ohci-omap.c
ohci-pci.c
ohci-pnx4008.c
ohci-ppc-soc.c
ohci-pxa27x.c
ohci-q.c
ohci-s3c2410.c
ohci-sa1111.c
ohci.h
pci-quirks.c
pci-quirks.h
sl811-hcd.c
sl811.h
sl811_cs.c
u132-hcd.c
uhci-debug.c
uhci-hcd.c
uhci-hcd.h
uhci-hub.c
uhci-q.c