]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:39:16 +0000 (15:39 -0700)
commit42b9e286a15f3d11b66ef1f6e78fee60583d1050
tree3b6d84ce0567c7772c7afe6c6abc062352ed425f
parentb2d8f79211c71aaf409714a706e8c3aff1825fbc
xHCI: add XHCI_RESET_ON_RESUME quirk for VIA xHCI host

commit 457a4f61f9bfc3ae76e5b49f30f25d86bb696f67 upstream.

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 c877b3b2ad5cb9d4fe523c5496185cc328ff3ae9
"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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c