public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
From: Tony Lindgren <tony@atomide.com>
To: Igor Stoppa <igor.stoppa@nokia.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: Re: [PATCH 1/1] ARM: OMAP2: Remove redundant check on osc refcount
Date: Fri, 4 May 2007 09:23:27 -0700	[thread overview]
Message-ID: <20070504162326.GD12331@atomide.com> (raw)
In-Reply-To: <1178284764.21647.27.camel@Dogbert.NOE.nokia.com>

* Igor Stoppa <igor.stoppa@nokia.com> [070504 06:21]:
> The usage of the external oscillator is handled already by
> sleep_block and doesn't require any extra checking.
> Incidentally this fixes a bug where N800 wouldn't enter retention
> the first time the display would blank.
> 
> Signed-off-by: Klaus Pedersen <klaus.k.pedersen@nokia.com>
> 
> Signed-off-by: Igor Stoppa <igor.stoppa@nokia.com>
> ---
>  arch/arm/mach-omap2/pm.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-omap2/pm.c b/arch/arm/mach-omap2/pm.c
> index b3a0d9d..63e380f 100644
> --- a/arch/arm/mach-omap2/pm.c
> +++ b/arch/arm/mach-omap2/pm.c
> @@ -621,8 +621,6 @@ static int omap2_can_sleep(void)
>  		return 0;
>  	if (atomic_read(&sleep_block) > 0)
>  		return 0;
> -	if (clk_get_usecount(osc_ck) > 1)
> -		return 0;
>  	if (omap_dma_running())
>  		return 0;
>  

Thanks, pushing today.

Tony

      reply	other threads:[~2007-05-04 16:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-02 18:29 Last call for bug fixes before 2.6.21-omap1 will be tagged Tony Lindgren
2007-05-03  9:58 ` Trilok Soni
2007-05-03 13:34   ` Kevin Hilman
2007-05-03 16:47     ` Tony Lindgren
2007-05-04 13:19 ` [PATCH 1/1] ARM: OMAP2: Remove redundant check on osc refcount Igor Stoppa
2007-05-04 16:23   ` Tony Lindgren [this message]

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=20070504162326.GD12331@atomide.com \
    --to=tony@atomide.com \
    --cc=igor.stoppa@nokia.com \
    --cc=linux-omap-open-source@linux.omap.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