From: Santosh Shilimkar Date: Sat, 22 Aug 2009 08:00:12 +0000 (+0530) Subject: ARM: OMAP4: Bypass the clock check. X-Git-Tag: v2.6.32-rc1~645^2~7 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=aae290fb4d64e2b09b659f4b8a7f9d2547ef63b1;p=karo-tx-linux.git ARM: OMAP4: Bypass the clock check. Second reason of OMAP4 boot failure on 2.6.31.rc6, the UART platform data is not getting registered to kernel. Registration was failing because of clock check failure in omap_serial_init(). Below patch fix the same. OMAP4 clock framework patches are still getting discussed on mailing list so till then we need this. Signed-off-by: Syed Rafiuddin Signed-off-by: Santosh Shilimkar Acked-by: Tony Lindgren Signed-off-by: Kevin Hilman --- diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c index 645546cbd265..0f508109adcc 100644 --- a/arch/arm/mach-omap2/serial.c +++ b/arch/arm/mach-omap2/serial.c @@ -609,8 +609,11 @@ void __init omap_serial_init(void) uart->fck = NULL; } - if (!uart->ick || !uart->fck) - continue; + /* FIXME: Remove this once the clkdev is ready */ + if (!cpu_is_omap44xx()) { + if (!uart->ick || !uart->fck) + continue; + } uart->num = i; p->private_data = uart;