From b8168c9cf94e94dfdc73285ec92bee1ae3c1a4cd Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Thu, 28 Jun 2012 16:49:42 +0900 Subject: [PATCH] --- yaml --- r: 316983 b: refs/heads/master c: e864abed546f9f4b76a3580fb3c53cd389e0c015 h: refs/heads/master i: 316981: 6d5d15313b711c34648fe953a95e9a8f69959878 316979: a36a28702aca7df186000f9e90895cac99bb4d6c 316975: 990b8943d3eba2c1ca2ef8a6496a5462c05661ad v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/ohci-exynos.c | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 09e6f0d6a05f..4f336028003f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: ff9cce82772a78983b529e044d85884d3ec95fda +refs/heads/master: e864abed546f9f4b76a3580fb3c53cd389e0c015 diff --git a/trunk/drivers/usb/host/ohci-exynos.c b/trunk/drivers/usb/host/ohci-exynos.c index 2909621ea196..fedb0eff35d5 100644 --- a/trunk/drivers/usb/host/ohci-exynos.c +++ b/trunk/drivers/usb/host/ohci-exynos.c @@ -225,6 +225,9 @@ static int exynos_ohci_suspend(struct device *dev) if (pdata && pdata->phy_exit) pdata->phy_exit(pdev, S5P_USB_PHY_HOST); + + clk_disable(exynos_ohci->clk); + fail: spin_unlock_irqrestore(&ohci->lock, flags); @@ -238,6 +241,8 @@ static int exynos_ohci_resume(struct device *dev) struct platform_device *pdev = to_platform_device(dev); struct exynos4_ohci_platdata *pdata = pdev->dev.platform_data; + clk_enable(exynos_ohci->clk); + if (pdata && pdata->phy_init) pdata->phy_init(pdev, S5P_USB_PHY_HOST);