kernel_optimize_test/drivers/usb/gadget
Alan Stern cfa59dab27 USB: Don't resume root hub if the controller is suspended
Root hubs can't be resumed if their parent controller device is still
suspended.  This patch (as925) adds a check for that condition in
hcd_bus_resume() and prevents it from being treated as a fatal
controller failure.

ehci-hcd is updated to add the corresponding test.  Unnecessary
debugging messages are removed from uhci-hcd and dummy-hcd.  The
error return code from dummy-hcd is changed to -ESHUTDOWN, the same as
the others.  ohci-hcd doesn't need any changes.

Suspend handling in the non-PCI host drivers is somewhat hit-and-miss.
This patch shouldn't have any effect on them.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-07-12 16:34:39 -07:00
..
at91_udc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
at91_udc.h USB: at91_udc wakeup event updates 2007-02-07 15:44:37 -08:00
config.c USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
dummy_hcd.c USB: Don't resume root hub if the controller is suspended 2007-07-12 16:34:39 -07:00
epautoconf.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
ether.c usb gadget: Rename husb2dev -> usba 2007-07-12 16:34:38 -07:00
file_storage.c USB: Disable file_storage USB_CONFIG_ATT_WAKEUP 2007-07-12 16:34:29 -07:00
fsl_usb2_udc.c USB: fsl_usb2_udc: fix bug for portsc bit masking 2007-07-12 16:34:38 -07:00
fsl_usb2_udc.h USB: fsl_usb2_udc: Get max ep number from DCCPARAMS register 2007-07-12 16:34:30 -07:00
gadget_chips.h usb gadget: Rename husb2dev -> usba 2007-07-12 16:34:38 -07:00
gmidi.c USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
goku_udc.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
goku_udc.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
inode.c USB: export <linux/usb_gadgetfs> as <linux/usb/gadgetfs.h> 2007-07-12 16:29:50 -07:00
Kconfig USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
lh7a40x_udc.c USB: gadget driver unbind() is optional; section fixes; misc 2006-12-20 10:14:26 -08:00
lh7a40x_udc.h USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
m66592-udc.c USB: m66592-udc: fix use old interrupt flags 2007-07-12 16:29:45 -07:00
m66592-udc.h USB: m66592-udc: peripheral controller driver for M66592 2007-07-12 16:29:45 -07:00
Makefile USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
ndis.h [PATCH] USB: rndis updates (mostly cleanup) 2005-06-27 14:43:50 -07:00
net2280.c PCI: add pci_try_set_mwi 2007-07-11 16:02:11 -07:00
net2280.h USB: net2280: don't send unwanted zero-length packets 2006-12-01 14:23:36 -08:00
omap_udc.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
omap_udc.h USB: omap_udc build fixes (sync with linux-omap) 2007-01-05 12:19:09 -08:00
pxa2xx_udc.c Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-06 13:20:10 -07:00
pxa2xx_udc.h USB: use function attribute __maybe_unused 2007-07-12 16:29:50 -07:00
rndis.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
rndis.h USB gadget rndis: fix struct rndis_packet_msg_type unaligned bug 2007-04-27 13:28:40 -07:00
s3c2410_udc.c USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
s3c2410_udc.h USB Gadget driver for Samsung s3c2410 ARM SoC 2007-07-12 16:34:30 -07:00
serial.c USB: usb serial gadget, sparse fixes 2007-07-12 16:29:51 -07:00
usbstring.c USB: <linux/usb_ch9.h> becomes <linux/usb/ch9.h> 2007-02-07 15:44:32 -08:00
zero.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00