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 <[email protected]>
Signed-off-by: Santosh Shilimkar <[email protected]>
Acked-by: Tony Lindgren <[email protected]>
Signed-off-by: Kevin Hilman <[email protected]>
This commit is contained in:
Santosh Shilimkar 2009-08-22 13:30:12 +05:30 • committed by Kevin Hilman
commit aae290fb4d

View file

@ -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;