Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf2b419a authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Greg Kroah-Hartman
Browse files

USB: ohci-omap: defer probe if PHY is missing



Defer probe if PHY is missing. E.g. on Nokia 770 several modules needs
to be loaded to get the PHY going and ohci-omap should wait for those.

Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a52d3ec5
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -227,8 +227,7 @@ static int ohci_omap_reset(struct usb_hcd *hcd)
				return status;
			}
		} else {
			dev_err(hcd->self.controller, "can't find phy\n");
			return -ENODEV;
			return -EPROBE_DEFER;
		}
		ohci->start_hnp = start_hnp;
	}