summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2013-09-25 21:15:44 -0700
committerOlof Johansson <olof@lixom.net>2013-09-25 21:15:44 -0700
commit0ebf7dc47a13771a37f1bd1290b30b10e1c8e29a (patch)
tree7ee5c987b21f2b9407b58fbd779657e5544cf496 /drivers/usb
parent4a10c2ac2f368583138b774ca41fac4207911983 (diff)
parent2ec35a4252eae3d5277af041bd1b5ae4f6183cad (diff)
downloadblackbird-op-linux-0ebf7dc47a13771a37f1bd1290b30b10e1c8e29a.tar.gz
blackbird-op-linux-0ebf7dc47a13771a37f1bd1290b30b10e1c8e29a.zip
Merge tag 'samsung-dt-s3c64xx' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung into next/dt
From Kukjin Kim: Add device tree support for S3C64XX - add device tree infrastructure for s3c64xx - add DT SoC file for s3c64xx - add DT board file for FriendlyARM Mini6410 board - add DT board file for SAMSUNG SMDK6410 Based on Common Clk Framework for S3C64XX * tag 'samsung-dt-s3c64xx' of http://git.kernel.org/pub/scm/linux/kernel/git/kgene/linux-samsung: ARM: dts: Add dts file for S3C6410-based SMDK6410 board ARM: dts: Add dts file for S3C6410-based Mini6410 board ARM: dts: Add basic dts include files for Samsung S3C64xx SoCs ARM: S3C64XX: Add board file for boot using Device Tree gpio: samsung: Skip initialization if device tree is present ARM: S3C64XX: Bypass legacy initialization when booting with DT irqchip: vic: Parse interrupt and resume masks from device tree 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)
dev_dbg(&dev->dev, "s3c2410_start_hc:\n");
- clk_enable(usb_clk);
+ clk_prepare_enable(usb_clk);
mdelay(2); /* let the bus clock stabilise */
- clk_enable(clk);
+ clk_prepare_enable(clk);
if (info != NULL) {
info->hcd = hcd;
@@ -75,8 +75,8 @@ static void s3c2410_stop_hc(struct platform_device *dev)
(info->enable_oc)(info, 0);
}
- clk_disable(clk);
- clk_disable(usb_clk);
+ clk_disable_unprepare(clk);
+ clk_disable_unprepare(usb_clk);
}
/* ohci_s3c2410_hub_status_data
OpenPOWER on IntegriCloud