]> err.no Git - linux-2.6/commit
usbcore: small changes to hub driver's suspend method
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 1 Feb 2007 21:08:41 +0000 (16:08 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:18 +0000 (15:32 -0800)
commit12f1ff8351e235661beb0314d9ae9417a4871688
treea271549c8f9532fca46672b5b38c5dd95f2c41ea
parent7fe89e9cc8ebd9da70f760409a4301d26f80a460
usbcore: small changes to hub driver's suspend method

This patch (as847) makes some small changes to the hub driver's
suspend method:

For root hubs, the status URB should be unlinked and other
activity stopped _before_ the bus_suspend method is called.

The test for hdev->bus being NULL has been removed, since
it can never succeed.

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