diff options
Diffstat (limited to 'arch/arm/mach-omap2/board-h4.c')
-rw-r--r-- | arch/arm/mach-omap2/board-h4.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/board-h4.c b/arch/arm/mach-omap2/board-h4.c index 12569cb0eddd..313b3f426a56 100644 --- a/arch/arm/mach-omap2/board-h4.c +++ b/arch/arm/mach-omap2/board-h4.c | |||
@@ -265,9 +265,9 @@ static inline void __init h4_init_debug(void) | |||
265 | return; | 265 | return; |
266 | } | 266 | } |
267 | 267 | ||
268 | clk_enable(gpmc_fck); | 268 | clk_prepare_enable(gpmc_fck); |
269 | rate = clk_get_rate(gpmc_fck); | 269 | rate = clk_get_rate(gpmc_fck); |
270 | clk_disable(gpmc_fck); | 270 | clk_disable_unprepare(gpmc_fck); |
271 | clk_put(gpmc_fck); | 271 | clk_put(gpmc_fck); |
272 | 272 | ||
273 | if (is_gpmc_muxed()) | 273 | if (is_gpmc_muxed()) |
@@ -311,7 +311,7 @@ static inline void __init h4_init_debug(void) | |||
311 | gpmc_cs_free(eth_cs); | 311 | gpmc_cs_free(eth_cs); |
312 | 312 | ||
313 | out: | 313 | out: |
314 | clk_disable(gpmc_fck); | 314 | clk_disable_unprepare(gpmc_fck); |
315 | clk_put(gpmc_fck); | 315 | clk_put(gpmc_fck); |
316 | } | 316 | } |
317 | 317 | ||