kernel-hacking-2024-linux-s.../drivers/usb/core
Alan Stern 948fea37dc USB: optimize port debouncing during hub activation
This patch (as1082) makes a small optimization to the way the hub
driver carries out port debouncing immediately after a hub is
activated (i.e., initialized, reset, or resumed).  If any port-change
statuses are observed, the code will delay for a minimal debounce
period -- thereby making a good start at debouncing all the ports at
once.

If this wasn't sufficient then khubd will debounce any port that still
requires attention.  But in most cases it should suffice; it's rare
for a device to need more than a minimal debounce delay.  (In the
cases of hub initialization or reset even that is most likely not
needed, since any devices plugged in at such times have probably been
attached for a while.)

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2008-07-21 15:15:52 -07:00
..
buffer.c
config.c
devices.c
devio.c usbdev: BKL pushdown 2008-06-20 14:05:53 -06:00
driver.c USB: try to salvage lost power sessions 2008-07-21 15:15:51 -07:00
endpoint.c USB: usb dev_set_name() instead of dev->bus_id 2008-07-21 15:15:47 -07:00
file.c USB: usb dev_name() instead of dev->bus_id 2008-07-21 15:15:46 -07:00
generic.c USB: fix possible deadlock involving sysfs attributes 2008-05-29 13:59:03 -07:00
hcd-pci.c
hcd.c USB: usb dev_name() instead of dev->bus_id 2008-07-21 15:15:46 -07:00
hcd.h USB: handle pci_name() being const 2008-07-21 15:15:46 -07:00
hub.c USB: optimize port debouncing during hub activation 2008-07-21 15:15:52 -07:00
hub.h
inode.c
Kconfig
Makefile
message.c USB: usb dev_set_name() instead of dev->bus_id 2008-07-21 15:15:47 -07:00
notify.c
otg_whitelist.h
quirks.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-06-17 18:10:40 -07:00
sysfs.c USB: add all configs to the "descriptors" attribute 2008-05-29 13:59:03 -07:00
urb.c
usb.c USB: usb dev_set_name() instead of dev->bus_id 2008-07-21 15:15:47 -07:00
usb.h USB: create attributes before sending uevent 2008-05-14 10:00:26 -07:00