diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-09-23 17:28:38 +0530 |
---|---|---|
committer | Ricardo Perez Olivares <x0081762@ti.com> | 2009-09-23 07:04:45 -0500 |
commit | b5cdcc8375ecb0e4e6d74fb9d2af57d6d92c08cc (patch) | |
tree | d61233559b2b71da3ab071d8ce02596bbaa66350 | |
parent | 4964c3c92f47eb74088bd8d842fa1b53c48325d8 (diff) |
ARM: OMAP4: Disable UART clock checks
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 6560dac8a84b..be07c950d927 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -616,20 +616,21 @@ void __init omap_serial_init(void) continue; } - sprintf(name, "uart%d_ick", i+1); - uart->ick = clk_get(NULL, name); - if (IS_ERR(uart->ick)) { - printk(KERN_ERR "Could not get uart%d_ick\n", i+1); - uart->ick = NULL; - } + if (!cpu_is_omap44xx()) { + sprintf(name, "uart%d_ick", i+1); + uart->ick = clk_get(NULL, name); + if (IS_ERR(uart->ick)) { + printk(KERN_ERR "Could not get uart%d_ick\n", i+1); + uart->ick = NULL; + } - sprintf(name, "uart%d_fck", i+1); - uart->fck = clk_get(NULL, name); - if (IS_ERR(uart->fck)) { - printk(KERN_ERR "Could not get uart%d_fck\n", i+1); - uart->fck = NULL; + sprintf(name, "uart%d_fck", i+1); + uart->fck = clk_get(NULL, name); + if (IS_ERR(uart->fck)) { + printk(KERN_ERR "Could not get uart%d_fck\n", i+1); + uart->fck = NULL; + } } - /* FIXME: Remove this once the clkdev is ready */ if (!cpu_is_omap44xx()) { if (!uart->ick || !uart->fck) |