]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 24 Sep 2013 19:45:25 +0000 (15:45 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 00:05:35 +0000 (17:05 -0700)
commitf875fdbf344b9fde207f66b392c40845dd7e5aa6
tree3eea45c2444ed01955a0df878d3332004534a98b
parenta8693424c751b8247ee19bd8b857f1d4f432b972
USB: fix PM config symbol in uhci-hcd, ehci-hcd, and xhci-hcd

Since uhci-hcd, ehci-hcd, and xhci-hcd support runtime PM, the .pm
field in their pci_driver structures should be protected by CONFIG_PM
rather than CONFIG_PM_SLEEP.  The corresponding change has already
been made for ohci-hcd.

Without this change, controllers won't do runtime suspend if system
suspend or hibernation isn't enabled.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
CC: <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ehci-pci.c
drivers/usb/host/uhci-pci.c
drivers/usb/host/xhci-pci.c