Created
April 16, 2013 03:08
-
-
Save RobertCNelson/5393056 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/arch/arm/mach-omap2/clock3xxx.c b/arch/arm/mach-omap2/clock3xxx.c | |
index 0b02b41..8ab19aa 100644 | |
--- a/arch/arm/mach-omap2/clock3xxx.c | |
+++ b/arch/arm/mach-omap2/clock3xxx.c | |
@@ -61,12 +61,19 @@ void __init omap3_clk_lock_dpll5(void) | |
dpll5_clk = clk_get(NULL, "dpll5_ck"); | |
clk_set_rate(dpll5_clk, DPLL5_FREQ_FOR_USBHOST); | |
- clk_prepare_enable(dpll5_clk); | |
- /* Program dpll5_m2_clk divider for no division */ | |
- dpll5_m2_clk = clk_get(NULL, "dpll5_m2_ck"); | |
- clk_prepare_enable(dpll5_m2_clk); | |
- clk_set_rate(dpll5_m2_clk, DPLL5_FREQ_FOR_USBHOST); | |
+ if (cpu_is_omap3630()) { | |
+ pr_info("clock: DPLL5 omap3630\n"); | |
+ | |
+ } else { | |
+ pr_info("clock: DPLL5 !omap3630\n"); | |
+ clk_prepare_enable(dpll5_clk); | |
+ | |
+ /* Program dpll5_m2_clk divider for no division */ | |
+ dpll5_m2_clk = clk_get(NULL, "dpll5_m2_ck"); | |
+ clk_prepare_enable(dpll5_m2_clk); | |
+ clk_set_rate(dpll5_m2_clk, DPLL5_FREQ_FOR_USBHOST); | |
+ } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment