diff options
Diffstat (limited to 'drivers/usb/host/xhci-plat.c')
-rw-r--r-- | drivers/usb/host/xhci-plat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 676ea458148b..1f3f981fe7f8 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c | |||
@@ -196,6 +196,9 @@ static int xhci_plat_probe(struct platform_device *pdev) | |||
196 | ret = clk_prepare_enable(clk); | 196 | ret = clk_prepare_enable(clk); |
197 | if (ret) | 197 | if (ret) |
198 | goto put_hcd; | 198 | goto put_hcd; |
199 | } else if (PTR_ERR(clk) == -EPROBE_DEFER) { | ||
200 | ret = -EPROBE_DEFER; | ||
201 | goto put_hcd; | ||
199 | } | 202 | } |
200 | 203 | ||
201 | xhci = hcd_to_xhci(hcd); | 204 | xhci = hcd_to_xhci(hcd); |