diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2017-01-02 21:53:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-01-10 17:00:41 +0100 |
commit | bf2b419aa19498913c7175ba0fb1becd9b946b3b (patch) | |
tree | 7a96d81acdd7464f0509592c7b4bbc88fe56298f /drivers/usb/host/ohci-omap.c | |
parent | tools: usb: usbip: Add simple script to show how to setup vUDC (diff) | |
download | linux-bf2b419aa19498913c7175ba0fb1becd9b946b3b.tar.xz linux-bf2b419aa19498913c7175ba0fb1becd9b946b3b.zip |
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: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-omap.c')
-rw-r--r-- | drivers/usb/host/ohci-omap.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index b08e385399b9..a4d814b7f380 100644 --- a/drivers/usb/host/ohci-omap.c +++ b/drivers/usb/host/ohci-omap.c @@ -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; } |