public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Kevin Hilman <khilman@deeprootsystems.com>
To: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: rmk@arm.linux.org.uk, tony@atomide.com,
	linux-arm-kernel@lists.arm.linux.org.uk,
	linux-omap@vger.kernel.org,
	Syed Rafiuddin <rafiuddin.syed@ti.com>
Subject: Re: [PATCH 2/2] ARM: OMAP4: Bypass the clock check.
Date: Fri, 21 Aug 2009 17:59:09 +0200	[thread overview]
Message-ID: <87eir5ma42.fsf@deeprootsystems.com> (raw)
In-Reply-To: <1250846095-6381-2-git-send-email-santosh.shilimkar@ti.com> (Santosh Shilimkar's message of "Fri\, 21 Aug 2009 14\:44\:55 +0530")

Santosh Shilimkar <santosh.shilimkar@ti.com> writes:

> 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>
>
> ---
>  arch/arm/mach-omap2/serial.c |    6 ++++--
>  1 files changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/serial.c b/arch/arm/mach-omap2/serial.c
> index e1be77b..e8d55f4 100644
> --- a/arch/arm/mach-omap2/serial.c
> +++ b/arch/arm/mach-omap2/serial.c
> @@ -620,8 +620,10 @@ void __init omap_serial_init(void)
>  			uart->fck = NULL;
>  		}
>  
> -		if (!uart->ick || !uart->fck)
> -			continue;

I'd like to see another FIXME here to the effect that this can be removed
when OMAP4 clock framework is in place.

> +		if (!cpu_is_omap44xx()) {
> +			if (!uart->ick || !uart->fck)
> +				continue;
> +		}
>  
>  		uart->num = i;
>  		p->private_data = uart;
> -- 
> 1.5.4.7

Other than that,

Acked-by: Kevin Hilman <khilman@deeprootsystems.com>

  reply	other threads:[~2009-08-21 15:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-21  9:14 [PATCH 1/2] ARM: OMAP4: Fix NULL pointer dereference crash Santosh Shilimkar
2009-08-21  9:14 ` [PATCH 2/2] ARM: OMAP4: Bypass the clock check Santosh Shilimkar
2009-08-21 15:59   ` Kevin Hilman [this message]
2009-08-24 14:10 ` [PATCH 1/2] ARM: OMAP4: Fix NULL pointer dereference crash Tony Lindgren
2009-08-24 14:29   ` Shilimkar, Santosh
2009-08-24 15:26     ` Kevin Hilman
2009-08-24 15:28       ` Shilimkar, Santosh
  -- strict thread matches above, loose matches on Subject: below --
2009-08-20 16:34 Santosh Shilimkar
2009-08-20 16:34 ` [PATCH 2/2] ARM: OMAP4: Bypass the clock check Santosh Shilimkar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eir5ma42.fsf@deeprootsystems.com \
    --to=khilman@deeprootsystems.com \
    --cc=linux-arm-kernel@lists.arm.linux.org.uk \
    --cc=linux-omap@vger.kernel.org \
    --cc=rafiuddin.syed@ti.com \
    --cc=rmk@arm.linux.org.uk \
    --cc=santosh.shilimkar@ti.com \
    --cc=tony@atomide.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox