DM USB: xHCI: fix an error in PORTSC emulation
When DM receives the Disable Slot command, according to xHCI spec,
the PP bit in PORTSC register should not be cleared.
Acked-by: Yu Wang
@@ -1801,7 +1801,7 @@ pci_xhci_cmd_disable_slot(struct pci_xhci_vdev *xdev, uint32_t slot)
if (i <= XHCI_MAX_DEVS && XHCI_PORTREG_PTR(xdev, i)) {
XHCI_PORTREG_PTR(xdev, i)->portsc &= ~(XHCI_PS_CSC |
- XHCI_PS_CCS | XHCI_PS_PED | XHCI_PS_PP);
+ XHCI_PS_CCS | XHCI_PS_PED);
udev = dev->dev_instance;
