|
@@ -279,7 +279,9 @@ static int exynos_ehci_resume(struct device *dev)
|
|
struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
|
|
struct exynos_ehci_hcd *exynos_ehci = to_exynos_ehci(hcd);
|
|
int ret;
|
|
int ret;
|
|
|
|
|
|
- clk_prepare_enable(exynos_ehci->clk);
|
|
|
|
|
|
+ ret = clk_prepare_enable(exynos_ehci->clk);
|
|
|
|
+ if (ret)
|
|
|
|
+ return ret;
|
|
|
|
|
|
ret = exynos_ehci_phy_enable(dev);
|
|
ret = exynos_ehci_phy_enable(dev);
|
|
if (ret) {
|
|
if (ret) {
|