From b5cdcc8375ecb0e4e6d74fb9d2af57d6d92c08cc Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar Date: Wed, 23 Sep 2009 17:28:38 +0530 Subject: ARM: OMAP4: Disable UART clock checks Signed-off-by: Santosh Shilimkar --- arch/arm/mach-omap2/serial.c | 25 +++++++++++++------------ 1 file 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) -- cgit v1.2.3