android_kernel_motorola_sm6225/include/linux/usb
Alan Stern ff2f078743 USB: fix race between root-hub wakeup & controller suspend
This patch (as1395) adds code to hcd_pci_suspend() for handling wakeup
races.  This is another general race pattern, similar to the "open
vs. unregister" race we're all familiar with.  Here, the race is
between suspending a device and receiving a wakeup request from one of
the device's suspended children.

In particular, if a root-hub wakeup is requested at about the same
time as the corresponding USB controller is suspended, and if the
controller is enabled for wakeup, then the controller should either
fail to suspend or else wake right back up again.

During system sleep this won't happen very much, especially since host
controllers generally aren't enabled for wakeup during sleep.  However
it is definitely an issue for runtime PM.  Something like this will be
needed to prevent the controller from autosuspending while waiting for
a root-hub resume to take place.  (That is, in fact, the common case,
for which there is an extra test.)

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-08-10 14:35:38 -07:00
..
association.h
atmel_usba_udc.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
audio-v2.h ALSA: usb-audio: move and add some comments 2010-06-23 16:09:50 +02:00
audio.h ALSA: usb-audio: unify UAC macros and struct names 2010-06-23 16:09:26 +02:00
c67x00.h
cdc.h usb: cdc: ncm constants and structures added 2010-05-20 13:21:39 -07:00
ch9.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
ch11.h USB: export the new ch11.h file to userspce 2010-05-20 13:21:40 -07:00
composite.h USB: gadget: composite: added disconnect callback 2010-08-10 14:35:37 -07:00
ehci_def.h USB: EHCI: EHCI 1.1 addendum: preparation 2010-08-10 14:35:35 -07:00
functionfs.h USB: gadget: f_fs: functionfs_add() renamed to functionfs_bind_config() 2010-08-10 14:35:36 -07:00
g_hid.h USB: gadget: add HID gadget driver 2010-05-20 13:21:35 -07:00
g_printer.h
gadget.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
gadgetfs.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
gpio_vbus.h
hcd.h USB: fix race between root-hub wakeup & controller suspend 2010-08-10 14:35:38 -07:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1362.h
isp1760.h
Kbuild USB: export the new ch11.h file to userspce 2010-05-20 13:21:40 -07:00
langwell_udc.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
m66592.h
midi.h
musb.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
ncm.h USB: ncm: added ncm.h with auxiliary definitions 2010-05-20 13:21:39 -07:00
net2280.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
otg.h USB: otg.h: Fix the mixup in parameters order. 2010-08-10 14:35:34 -07:00
quirks.h USB: Add a new quirk: USB_QUIRK_HONOR_BNUMINTERFACES 2010-05-20 13:21:32 -07:00
r8a66597.h
rndis_host.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
serial.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
sl811.h
tmc.h
ulpi.h usb: otg: add global ULPI register definitions 2010-05-20 13:21:36 -07:00
usbnet.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
video.h V4L/DVB: uvc: Move constants and structures definitions to linux/usb/video.h 2010-08-02 16:43:15 -03:00
wusb-wa.h USB: include/usb/*.h checkpatch cleanup 2010-05-20 13:21:47 -07:00
wusb.h