]> git.baikalelectronics.ru Git - kernel.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)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Wed, 11 Apr 2012 15:31:06 +0000 (08:31 -0700)
commited02a3bf0ed59075aa71edc1865d906d9378d13f
tree943dcbd00aac0b5aa623dede2d77619cd83ca18a
parent88946733f8d65253b79af208632b5be4ed269bc4
xHCI: Correct the #define XHCI_LEGACY_DISABLE_SMI

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>
Cc: stable@vger.kernel.org
drivers/usb/host/pci-quirks.c
drivers/usb/host/xhci-ext-caps.h