diff options
Diffstat (limited to 'drivers/usb/host/ehci-platform.c')
-rw-r--r-- | drivers/usb/host/ehci-platform.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index b3a0e11073aa..c7dd93aad20c 100644 --- a/drivers/usb/host/ehci-platform.c +++ b/drivers/usb/host/ehci-platform.c | |||
@@ -303,6 +303,8 @@ static int ehci_platform_suspend(struct device *dev) | |||
303 | int ret; | 303 | int ret; |
304 | 304 | ||
305 | ret = ehci_suspend(hcd, do_wakeup); | 305 | ret = ehci_suspend(hcd, do_wakeup); |
306 | if (ret) | ||
307 | return ret; | ||
306 | 308 | ||
307 | if (pdata->power_suspend) | 309 | if (pdata->power_suspend) |
308 | pdata->power_suspend(pdev); | 310 | pdata->power_suspend(pdev); |