diff options
author | Santosh Shilimkar <santosh.shilimkar@ti.com> | 2009-08-22 04:00:12 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-09-02 18:07:54 -0400 |
commit | aae290fb4d64e2b09b659f4b8a7f9d2547ef63b1 (patch) | |
tree | 2d63eecab36003e4c2ee249e2e9e7e6172ad99f3 /arch/arm/mach-omap2/serial.c | |
parent | 0e3eaadfe3da84f98250ad8a2c36e87fe00e42ee (diff) |
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 <rafiuddin.syed@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-omap2/serial.c')
-rw-r--r-- | arch/arm/mach-omap2/serial.c | 7 |
1 files changed, 5 insertions, 2 deletions
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) | |||
609 | uart->fck = NULL; | 609 | uart->fck = NULL; |
610 | } | 610 | } |
611 | 611 | ||
612 | if (!uart->ick || !uart->fck) | 612 | /* FIXME: Remove this once the clkdev is ready */ |
613 | continue; | 613 | if (!cpu_is_omap44xx()) { |
614 | if (!uart->ick || !uart->fck) | ||
615 | continue; | ||
616 | } | ||
614 | 617 | ||
615 | uart->num = i; | 618 | uart->num = i; |
616 | p->private_data = uart; | 619 | p->private_data = uart; |