]> git.baikalelectronics.ru Git - kernel.git/commit
xhci: Check for XHCI_COMP_MODE_QUIRK when disabling D3cold
authorAndrew Bresticker <abrestic@chromium.org>
Fri, 3 Oct 2014 08:35:27 +0000 (11:35 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Oct 2014 21:44:45 +0000 (14:44 -0700)
commite3644fc6befdb882f8a92e027a371a89130b0b2a
tree1f5b7b9fe40280ef113228596e55ed48ba0d5677
parent284c9aea4aceefb6d9c07146f22cb50d32bd674a
xhci: Check for XHCI_COMP_MODE_QUIRK when disabling D3cold

Instead of calling xhci_compliance_mode_recovery_timer_quirk_check() again
in the PCI suspend path, just check for XHCI_COMP_MODE_QUIRK which will
have been set based on xhci_compliance_mode_recovery_timer_quirk_check()
in xhci_init().

Signed-off-by: Andrew Bresticker <abrestic@chromium.org>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c
drivers/usb/host/xhci.c
drivers/usb/host/xhci.h