]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: Don't assume root-hub resume succeeds
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 29 Nov 2005 17:13:31 +0000 (12:13 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 4 Jan 2006 21:51:40 +0000 (13:51 -0800)
commite45c2c3127983f8bf9aae3f22e5a419804ca6a7f
tree80d5846f634adcf9d71894a692259dad27ab3112
parent566b2a7ecdaf15d716b0d1784cb966f9bb07b7a0
[PATCH] USB: Don't assume root-hub resume succeeds

This patch (as614) makes a small change to the part of the hub driver
responsible for remote wakeup of root hubs.  When these wakeups occur
the driver is suspended, and in case the resume fails the driver should
remain suspended -- it shouldn't try to proceed with its normal
processing.

This will hardly ever matter in normal use, but it did crop up while I
was debugging a different problem.

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