]> git.baikalelectronics.ru Git - kernel.git/commit
xHCI: add XHCI_RESET_ON_RESUME quirk for VIA xHCI host
authorElric Fu <elricfu1@gmail.com>
Thu, 29 Mar 2012 07:47:50 +0000 (15:47 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 11 Apr 2012 15:28:59 +0000 (08:28 -0700)
commitba53d3fe50e10b2769a2dd4e68b1fb04f895461a
tree7212393e1707d108e9d9893121670aacb307e13f
parenta2ffae4f2aed16563b4a91bf43f8b1a8c95c707f
xHCI: add XHCI_RESET_ON_RESUME quirk for VIA xHCI host

The suspend operation of VIA xHCI host have some issues and
hibernate operation works fine, so The XHCI_RESET_ON_RESUME
quirk is added for it.

This patch should base on "xHCI: Don't write zeroed pointer
to xHC registers" that is released by Sarah. Otherwise, the
host system error will ocurr in the hibernate operation
process.

This should be backported to stable kernels as old as 2.6.37,
that contain the commit 6020e826f51fc25af4ec3e04ecfa94eb5431b43a
"xhci: Add reset on resume quirk for asrock p67 host".

Signed-off-by: Elric Fu <elricfu1@gmail.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Cc: stable@vger.kernel.org
drivers/usb/host/xhci-pci.c