From: Igor Stoppa <igor.stoppa@nokia.com>
To: ext Tony Lindgren <tony@atomide.com>
Cc: linux-omap-open-source@linux.omap.com
Subject: [PATCH 1/1] ARM: OMAP2: Remove redundant check on osc refcount
Date: Fri, 04 May 2007 16:19:24 +0300 [thread overview]
Message-ID: <1178284764.21647.27.camel@Dogbert.NOE.nokia.com> (raw)
In-Reply-To: <20070502182859.GK3520@atomide.com>
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;
--
1.5.1.3
next prev parent reply other threads:[~2007-05-04 13:19 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 ` Igor Stoppa [this message]
2007-05-04 16:23 ` [PATCH 1/1] ARM: OMAP2: Remove redundant check on osc refcount Tony Lindgren
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=1178284764.21647.27.camel@Dogbert.NOE.nokia.com \
--to=igor.stoppa@nokia.com \
--cc=linux-omap-open-source@linux.omap.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