Commit 5f92d898 authored by Kevin Hilman's avatar Kevin Hilman Committed by Tony Lindgren

ARM: OMAP: 2430 PM: emul_ck is only available on 242x

omap2_pm_init: on 2430,  don't fail if emul_ck is not available.  It
is only available on 2420
Signed-off-by: default avatarKevin Hilman <khilman@mvista.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 5a5fee87
...@@ -783,12 +783,14 @@ int __init omap2_pm_init(void) ...@@ -783,12 +783,14 @@ int __init omap2_pm_init(void)
return -ENODEV; return -ENODEV;
} }
if (cpu_is_omap242x()) {
emul_ck = clk_get(NULL, "emul_ck"); emul_ck = clk_get(NULL, "emul_ck");
if (IS_ERR(emul_ck)) { if (IS_ERR(emul_ck)) {
printk(KERN_ERR "could not get emul_ck\n"); printk(KERN_ERR "could not get emul_ck\n");
clk_put(osc_ck); clk_put(osc_ck);
return -ENODEV; return -ENODEV;
} }
}
prcm_setup_regs(); prcm_setup_regs();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment