]> 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)
commitadd937476f0b7c2edeb840b43b7466aee922fd54
tree3e9f2abb102045cbd162a7ebe8563d4e9ee47148
parent1a40c3e9a0c15e245c94d877a280c88ef326f9f9
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