diff options
author | Feng Tian <feng.tian@intel.com> | 2016-07-06 10:18:37 +0800 |
---|---|---|
committer | Feng Tian <feng.tian@intel.com> | 2016-07-25 09:36:41 +0800 |
commit | bf4808d6443775c9c5170b0ca9c521e6d9c977c1 (patch) | |
tree | 55cadf2c8c0b9b4ecdfbc212e298b3c6c2c4ae15 /MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c | |
parent | 698554923f055daf560d4954d0cc735d3df30430 (diff) | |
download | edk2-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