|
@@ -219,7 +219,7 @@ static int pxa27x_start_hc(struct pxa27x_ohci *ohci, struct device *dev)
|
|
|
|
|
|
inf = dev->platform_data;
|
|
|
|
|
|
- clk_enable(ohci->clk);
|
|
|
+ clk_prepare_enable(ohci->clk);
|
|
|
|
|
|
pxa27x_reset_hc(ohci);
|
|
|
|
|
@@ -269,7 +269,7 @@ static void pxa27x_stop_hc(struct pxa27x_ohci *ohci, struct device *dev)
|
|
|
__raw_writel(uhccoms, ohci->mmio_base + UHCCOMS);
|
|
|
udelay(10);
|
|
|
|
|
|
- clk_disable(ohci->clk);
|
|
|
+ clk_disable_unprepare(ohci->clk);
|
|
|
}
|
|
|
|
|
|
|