• David Brownell's avatar
    [PATCH] usbcore PCI glue updates for PM · 5f827ea3
    David Brownell authored
    This updates the PCI glue to address the new and simplified usbcore suspend
    semantics, where CONFIG_USB_SUSPEND becomes irrelevant to HCDs because
    hcd->hub_suspend() will always be called.
    
      - Removes now-unneeded recursion support
    
      - Go back to ignoring faults reported by the wakeup calls; we expect them
        to fail sometimes, and that's just fine.
    
    The PCI HCDs will need simple changes to catch up to this, like being able
    to ignore the setting of CONFIG_USB_SUSPEND.
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    
     drivers/usb/core/hcd-pci.c |  106 +++++++++++++++++++++------------------------
     drivers/usb/core/hcd.h     |    6 +-
     2 files changed, 53 insertions(+), 59 deletions(-)
    5f827ea3
hcd-pci.c 10.6 KB