kernel-hacking-2024-linux-s.../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
at91_udc.h
config.c
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
goku_udc.c
goku_udc.h
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
lh7a40x_udc.h
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
net2280.c PCI: add pci_try_set_mwi 2007-07-11 16:02:11 -07:00
net2280.h
omap_udc.c USB: usb gadgets avoid le{16,32}_to_cpup() 2007-06-08 16:24:30 -07:00
omap_udc.h
pxa2xx_udc.c
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
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
zero.c