USB: don't unsuspend for a new connection
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 4 May 2007 15:53:30 +0000 (11:53 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 12 Jul 2007 23:29:46 +0000 (16:29 -0700)
commit8adb4786789c25007f39b4d00dd03cc83bdcb896
tree70c800356a6de03240e33b64d1ec19078da27452
parentb6f6436da0c6853eedad86f5075b139c1a3bcb5d
USB: don't unsuspend for a new connection

This patch (as889) prevents the hub driver from trying to resume a
port when there is a new connection.  For one thing, the resume is not
needed -- the upcoming port reset will clear the suspend feature
automatically.  For another, on some systems the resume fails and
causes problems.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hub.c