diff --git a/[refs] b/[refs] index 28ca7228c0e6..39dad72ec749 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0d5ff306582834e3172365d619ec0cfe7a4f79ba +refs/heads/master: 925aa46ba963a4da6d8ee6ab1d04a02ffa8db62b diff --git a/trunk/drivers/usb/core/hub.c b/trunk/drivers/usb/core/hub.c index 3febe54883bd..540f20bf9e22 100644 --- a/trunk/drivers/usb/core/hub.c +++ b/trunk/drivers/usb/core/hub.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -4101,6 +4102,13 @@ static void hub_port_connect_change(struct usb_hub *hub, int port1, } } + if (hcd->phy && !hdev->parent) { + if (portstatus & USB_PORT_STAT_CONNECTION) + usb_phy_notify_connect(hcd->phy, port1); + else + usb_phy_notify_disconnect(hcd->phy, port1); + } + /* Return now if debouncing failed or nothing is connected or * the device was "removed". */