summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
diff options
context:
space:
mode:
authorFeng Tian <feng.tian@intel.com>2016-07-06 10:18:37 +0800
committerFeng Tian <feng.tian@intel.com>2016-07-25 09:36:41 +0800
commitbf4808d6443775c9c5170b0ca9c521e6d9c977c1 (patch)
tree55cadf2c8c0b9b4ecdfbc212e298b3c6c2c4ae15 /MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c
parent698554923f055daf560d4954d0cc735d3df30430 (diff)
downloadedk2-platforms-bf4808d6443775c9c5170b0ca9c521e6d9c977c1.tar.xz
MdeModulePkg/UsbBus: reduce the port status polling before port reset
This change is used to remove the port status polling in port reset functions. Why it's needed is because: 1) The same polling on same port has taken place prior to this removed one. See UsbEnumeratePort()->GetPortStatus(). So this polling in UsbEnumerateNewDev()->ResetPort() is redundant. 2) EDKII Xhci driver hooks all GetPortStatus() operations. If we don't remove this one, XHCI driver's XhcPollPortStatusChange() may enter twice in reset process and wrongly think the device is unplugged. Cc: Star Zeng <star.zeng@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Star Zeng <star.zeng@intel.com>
Diffstat (limited to 'MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c')
0 files changed, 0 insertions, 0 deletions