]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xHCI: Correct the #define XHCI_LEGACY_DISABLE_SMI
authorAlex He <alex.he@amd.com>
Fri, 30 Mar 2012 02:21:38 +0000 (10:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2012 22:31:10 +0000 (15:31 -0700)
commitbf1c89f0e5abec4693b833a247b31092d59b3ef1
treed412cf509fd91f52cc9f9762f15ca8e278f809e0
parentb5814b097ac833a2efbf70cd1fcc875b7ed04481
xHCI: Correct the #define XHCI_LEGACY_DISABLE_SMI

commit 95018a53f7653e791bba1f54c8d75d9cb700d1bd upstream.

Re-define XHCI_LEGACY_DISABLE_SMI and used it in right way. All SMI enable
bits will be cleared to zero and flag bits 29:31 are also cleared to zero.
Other bits should be presvered as Table 146.

This patch should be backported to kernels as old as 2.6.31.

Signed-off-by: Alex He <alex.he@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/pci-quirks.c
drivers/usb/host/xhci-ext-caps.h