]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci: set SSIC port unused only if xhci_suspend succeeds
authorLu Baolu <baolu.lu@linux.intel.com>
Tue, 26 Jan 2016 15:50:07 +0000 (17:50 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 22:01:47 +0000 (14:01 -0800)
commit71f101b175569ca5b4b72e0202b8a602f18143aa
tree2bbf36f40f7292a45f68873ff50edf9efd98e02c
parent15370e490580e9edfa253574ba47d1ab4fee4bbe
usb: xhci: set SSIC port unused only if xhci_suspend succeeds

XHCI_SSIC_PORT_UNUSED quirk was applied to the xHCI host controllers
in some Intel SoC chips.  With this quirk applied, SSIC port is set
to "unused" prior to xhci_suspend(). This may cause problem if host
fails to suspend.  In this case, the port is set to unused without
host further entering D3, and the port will not be usable anymore.

Cc: stable@vger.kernel.org
Signed-off-by: Zhuang Jin Can <jin.can.zhuang@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
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