]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] usb resume fixes
authorDavid Brownell <david-b@pacbell.net>
Tue, 19 Apr 2005 00:39:22 +0000 (17:39 -0700)
committerGreg K-H <gregkh@suse.de>
Tue, 19 Apr 2005 00:39:22 +0000 (17:39 -0700)
commit497bc78989e5467ff33877bd67de97ec56af4943
tree9f3d796b1f41338bf276c82b58d260125541e8a0
parent459c11e500bf993cf39a23aafd9a23b47f842881
[PATCH] usb resume fixes

This has a variety of updates to the shared suspend/resume code for
PCI based USB host controllers.

    - Cope with pm_message_t replacing the target system state.
      This is actually a loss of functionality; PCI D1 and D2
      states will no longer be used, and it's no longer knowable
      that D3cold is on the way so power will be lost.

    - Most importantly, some of the resume paths are reworked and
      cleaned up.  They're now an exact mirror of suspend paths,
      and more care is taken to ensure the hardware is reactivated
      before the hardware re-enables interrupts.

Plus comment and diagnostic cleanups; there are some nasty cases here
especially combined with swsusp, now they're somewhat commented.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff -puN drivers/usb/core/hcd-pci.c~usb-resume-fixes drivers/usb/core/hcd-pci.c
drivers/usb/core/hcd-pci.c