/* Disconnect any existing devices under this port */
if (udev) {
- if (hcd->phy && !hdev->parent)
+ if (hcd->phy && !hdev->parent &&
+ !(portstatus & USB_PORT_STAT_CONNECTION))
usb_phy_notify_disconnect(hcd->phy, udev->speed);
usb_disconnect(&port_dev->child);
}