linux/drivers/usb/core
Alan Stern 58a97ffeb2 USB: HCDs use the do_remote_wakeup flag
When a USB device is suspended, whether or not it is enabled for
remote wakeup depends on the device_may_wakeup() setting.  The setting
is then saved in the do_remote_wakeup flag.

Later on, however, the device_may_wakeup() value can change because of
user activity.  So when testing whether a suspended device is or
should be enabled for remote wakeup, we should always test
do_remote_wakeup instead of device_may_wakeup().  This patch (as1076)
makes that change for root hubs in several places.

The patch also adjusts uhci-hcd so that when an autostopped controller
is suspended, the remote wakeup setting agrees with the value recorded
in the root hub's do_remote_wakeup flag.

And the patch adjusts ehci-hcd so that wakeup events on selectively
suspended ports (i.e., the bus itself isn't suspended) don't turn on
the PME# wakeup signal.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-04-24 21:16:53 -07:00
..
Kconfig USB: Remove EXPERIMENTAL from dynamic USB minor allocation. 2008-04-24 21:16:43 -07:00
Makefile USB: add a blacklist for devices that can't handle some things we throw at them. 2007-02-23 15:03:46 -08:00
buffer.c USB: fix codingstyle issues in drivers/usb/core/*.c 2008-02-01 14:35:08 -08:00
config.c USB: ehci tolerates some buggy devices 2008-04-24 21:16:35 -07:00
devices.c USB: fix codingstyle issues in drivers/usb/core/devices.c 2008-02-01 14:35:07 -08:00
devio.c drivers/usb/core/devio.c: suppress warning with 64k PAGE_SIZE 2008-04-24 21:16:41 -07:00
driver.c USB: HCDs use the do_remote_wakeup flag 2008-04-24 21:16:53 -07:00
endpoint.c Add missing newlines to some uses of dev_<level> messages 2007-10-18 14:37:28 -07:00
file.c USB: mark USB drivers as being GPL only 2008-02-01 14:35:07 -08:00
generic.c USB: move decision to ignore FREEZE events 2007-10-12 14:55:26 -07:00
hcd-pci.c USB: clarify usage of hcd->suspend/resume methods 2008-04-24 21:16:48 -07:00
hcd.c USB: root hubs don't lie about their number of TTs 2008-04-24 21:16:48 -07:00
hcd.h USB: clarify usage of hcd->suspend/resume methods 2008-04-24 21:16:48 -07:00
hub.c USB: log an error message when USB enumeration fails 2008-04-24 21:16:50 -07:00
hub.h USB: defines for USB "Link Power Management" (LPM) ECN 2008-04-24 21:16:34 -07:00
inode.c USB: mount options: fix usbfs 2008-02-01 14:35:06 -08:00
message.c USB: rework sysfs removal of interface files 2008-04-24 21:16:48 -07:00
notify.c USB : correct comments in usb/core/notify.c 2008-02-01 14:34:44 -08:00
otg_whitelist.h USB: fix codingstyle issues in drivers/usb/core/*.h 2008-02-01 14:35:07 -08:00
quirks.c USB: enable USB-PERSIST by default 2008-04-24 21:16:33 -07:00
sysfs.c USB: remove CONFIG_USB_PERSIST setting 2008-04-24 21:16:32 -07:00
urb.c USB: add extension of anchor API, usb_unlink_anchored_urbs 2008-04-24 21:16:50 -07:00
usb.c PM: Do not acquire device semaphores upfront during suspend 2008-03-04 14:47:05 -08:00
usb.h USB: remove dev->power.power_state 2008-04-24 21:16:41 -07:00