aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-09-26 00:14:42 -0400
committerOlof Johansson <olof@lixom.net>2013-09-26 00:14:42 -0400
commitfca9b5ea3eefcbeabc98b48c00c1594aa413dd46 (patch)
tree73bbcf47f2cc1a7c4061301f427f75b8e111175f /drivers/usb
parent4a10c2ac2f368583138b774ca41fac4207911983 (diff)
parent66fcbe6b7c2827866100837611c9838298a28486 (diff)
Merge tag 'samsung-clk-s3c64xx' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/soc
From Kukjin Kim: Common clk support for S3C64XX - add PLL for S3C64XX - add s3c64xx clock driver - update drivers to use CCF of s3c64xx * tag 'samsung-clk-s3c64xx' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: ARM: S3C64XX: Remove old clock management code ARM: S3C64XX: Migrate clock handling to Common Clock Framework usb: ohci-s3c2410.c: Use clk_prepare_enable/clk_disable_unprepare ARM: S3C64XX: Use clk_prepare_enable/clk_disable_unprepare in dma.c ARM: SAMSUNG: Add soc_is_s3c6400/s3c6410 macros Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-s3c2410.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/host/ohci-s3c2410.c b/drivers/usb/host/ohci-s3c2410.c
index 4919afa4125e..1adff32e40e2 100644
--- a/drivers/usb/host/ohci-s3c2410.c
+++ b/drivers/usb/host/ohci-s3c2410.c
@@ -47,10 +47,10 @@ static void s3c2410_start_hc(struct platform_device *dev, struct usb_hcd *hcd)
47 47
48 dev_dbg(&dev->dev, "s3c2410_start_hc:\n"); 48 dev_dbg(&dev->dev, "s3c2410_start_hc:\n");
49 49
50 clk_enable(usb_clk); 50 clk_prepare_enable(usb_clk);
51 mdelay(2); /* let the bus clock stabilise */ 51 mdelay(2); /* let the bus clock stabilise */
52 52
53 clk_enable(clk); 53 clk_prepare_enable(clk);
54 54
55 if (info != NULL) { 55 if (info != NULL) {
56 info->hcd = hcd; 56 info->hcd = hcd;
@@ -75,8 +75,8 @@ static void s3c2410_stop_hc(struct platform_device *dev)
75 (info->enable_oc)(info, 0); 75 (info->enable_oc)(info, 0);
76 } 76 }
77 77
78 clk_disable(clk); 78 clk_disable_unprepare(clk);
79 clk_disable(usb_clk); 79 clk_disable_unprepare(usb_clk);
80} 80}
81 81
82/* ohci_s3c2410_hub_status_data 82/* ohci_s3c2410_hub_status_data