]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/host/ohci-omap.c
ARM: OMAP: Switch to use clk_enable/disable instead of clk_use/unuse
[linux-2.6-omap-h63xx.git] / drivers / usb / host / ohci-omap.c
index a0ad788e000935f1958e8226e95022677acbcf7b..e10bb250dd59b03ebca7f92833b124e87b61d4f2 100644 (file)
@@ -73,13 +73,13 @@ static int host_initialized;
 static void omap_ohci_clock_power(int on)
 {
        if (on) {
-               clk_use(usb_dc_ck);
-               clk_use(usb_host_ck);
+               clk_enable(usb_dc_ck);
+               clk_enable(usb_host_ck);
                /* guesstimate for T5 == 1x 32K clock + APLL lock time */
                udelay(100);
        } else {
-               clk_unuse(usb_host_ck);
-               clk_unuse(usb_dc_ck);
+               clk_disable(usb_host_ck);
+               clk_disable(usb_dc_ck);
        }
 }