]> git.baikalelectronics.ru Git - kernel.git/commit
USB: OHCI: add missing PCI PM callbacks to ohci-pci.c
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 21 Aug 2013 14:33:17 +0000 (10:33 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Aug 2013 17:41:46 +0000 (10:41 -0700)
commit6d977eeae61fc4e89985c0ece5f1d18359af4feb
tree7dcd51261937317e6e4a1a1eb7b7a174ca1c5ac2
parent7389eb40d97a7be49653b327fc3faf73333a31e2
USB: OHCI: add missing PCI PM callbacks to ohci-pci.c

Commit 15b701939d86 (USB: OHCI: make ohci-pci a separate driver)
neglected to preserve the entries for the pci_suspend and pci_resume
driver callbacks.  As a result, OHCI controllers don't work properly
during suspend and after hibernation.

This patch adds the missing callbacks to the driver.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Steve Cotton <steve@s.cotton.clara.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/ohci-pci.c