mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
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>
This commit is contained in:
parent
a52d3ec54a
commit
bf2b419aa1
@ -227,8 +227,7 @@ static int ohci_omap_reset(struct usb_hcd *hcd)
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
dev_err(hcd->self.controller, "can't find phy\n");
|
return -EPROBE_DEFER;
|
||||||
return -ENODEV;
|
|
||||||
}
|
}
|
||||||
ohci->start_hnp = start_hnp;
|
ohci->start_hnp = start_hnp;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user