]> 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)
commite7fc4d5fdd005c0fe7b5dac75b7affdf5958519e
tree7212393e1707d108e9d9893121670aacb307e13f
parente57c74858b7dd71493265fe037f783f2160cd656
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 22bbb29a303413dfa9f9b6d144491219f5c57f46
"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