summaryrefslogtreecommitdiff
path: root/lib/locking-selftest-spin.h
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2008-04-28 11:07:07 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 15:15:52 -0700
commit948fea37dcebfef8f0f2faf00930e7ec7e756e07 (patch)
treeaa75e31943da805bb613f7738276e352ec10cea0 /lib/locking-selftest-spin.h
parent8808f00c7adfc8dc0b797c34ec03490b237fce4e (diff)
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>
Diffstat (limited to 'lib/locking-selftest-spin.h')
0 files changed, 0 insertions, 0 deletions