Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: ed07a2bb11b358fdece44a760fc193d56f22cfb2
      
https://github.com/tianocore/edk2/commit/ed07a2bb11b358fdece44a760fc193d56f22cfb2
  Author: Britton Chesley <[email protected]>
  Date:   2024-07-03 (Wed, 03 Jul 2024)

  Changed paths:
    M MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBus.c

  Log Message:
  -----------
  MdeModulePkg/UsbBusDxe: USB issue fix when the port reset

BZ #4456

Fixed a bug which led to an ASSERT due to the USB device
context being maintained after a port reset, but the
underlying XHCI context was uninitialized. Specifically,
Xhc->UsbDevContext is freed after a reset and only
re-allocates the default [0] enpoint transfer ring.
In order to avoid a memory leak, device enumeration is
performed after freeing the necessary buffers. This
allocates the Xhc->UsbDevContext for all endpoints of
the USB device.

Signed-off-by: Britton Chesley <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to