]> git.proxmox.com Git - mirror_edk2.git/commit
MdeModulePkg/Bus/Pci/XhciDxe: Reset port if status change returns an error
authorSean Rhodes <sean@starlabs.systems>
Fri, 16 Dec 2022 12:24:18 +0000 (12:24 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Wed, 4 Jan 2023 03:50:39 +0000 (03:50 +0000)
commit992d5451d19b93635d52db293bab680e32142776
tree7a214f2f1db4db54c891f690fd8152e7d6c21d17
parent89c5d90003d9c54d03d3e85bd305718e9c29a213
MdeModulePkg/Bus/Pci/XhciDxe: Reset port if status change returns an error

Force resetting the port by clearing the USB_PORT_STAT_C_RESET bit in
PortChangeStatus when XhcPollPortStatusChange fails

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: Hao A Wu <hao.a.wu@intel.com>
MdeModulePkg/Bus/Pci/XhciDxe/Xhci.c