]> git.baikalelectronics.ru Git - kernel.git/commit
xHCI: report USB3.0 portstatus comply with USB3.0 specification
authorAndiry Xu <andiry.xu@amd.com>
Wed, 27 Apr 2011 10:07:43 +0000 (18:07 +0800)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 2 May 2011 23:42:53 +0000 (16:42 -0700)
commitc2178031a9525220c2c741a4e21146a0e5f7e43c
tree3e9f2abb102045cbd162a7ebe8563d4e9ee47148
parenta40e161c7639f041c5b86e4ecb871c910007461c
xHCI: report USB3.0 portstatus comply with USB3.0 specification

USB3.0 specification has different wPortStatus and wPortChange definitions
from USB2.0 specification. Since USB3 root hub and USB2 root hub are split
now and USB3 hub only has USB3 protocol ports, we should modify the
portstatus and portchange report of USB3 ports to comply with USB3.0
specification.

Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/core/hub.c
drivers/usb/host/xhci-hub.c