Commit 1e83f525 authored by Santosh Shilimkar's avatar Santosh Shilimkar

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: default avatarSyed Rafiuddin <rafiuddin.syed@ti.com>
Signed-off-by: default avatarSantosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: default avatarTony Lindgren <tony@atomide.com>
Acked-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent de26851f
...@@ -620,8 +620,11 @@ void __init omap_serial_init(void) ...@@ -620,8 +620,11 @@ void __init omap_serial_init(void)
uart->fck = NULL; uart->fck = NULL;
} }
/* FIXME: Remove this once the clkdev is ready */
if (!cpu_is_omap44xx()) {
if (!uart->ick || !uart->fck) if (!uart->ick || !uart->fck)
continue; continue;
}
uart->num = i; uart->num = i;
p->private_data = uart; p->private_data = uart;
......
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