|
@@ -2727,7 +2727,7 @@ int usb_add_hcd(struct usb_hcd *hcd,
|
|
|
int retval;
|
|
|
struct usb_device *rhdev;
|
|
|
|
|
|
- if (IS_ENABLED(CONFIG_USB_PHY) && !hcd->usb_phy) {
|
|
|
+ if (IS_ENABLED(CONFIG_USB_PHY) && !hcd->skip_phy_initialization) {
|
|
|
struct usb_phy *phy = usb_get_phy_dev(hcd->self.sysdev, 0);
|
|
|
|
|
|
if (IS_ERR(phy)) {
|
|
@@ -2745,7 +2745,7 @@ int usb_add_hcd(struct usb_hcd *hcd,
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if (IS_ENABLED(CONFIG_GENERIC_PHY) && !hcd->phy) {
|
|
|
+ if (IS_ENABLED(CONFIG_GENERIC_PHY) && !hcd->skip_phy_initialization) {
|
|
|
struct phy *phy = phy_get(hcd->self.sysdev, "usb");
|
|
|
|
|
|
if (IS_ERR(phy)) {
|